[Stgt-devel] [PATCH] tgt-admin: support persistent device binding
Eli Dorfman
dorfman.eli
Mon Jul 28 14:16:41 CEST 2008
>> maybe use the following format :
>> <target xyz>
>> <backing-store /dev/sdb>
>> properties custom # use properties specified below or
>> default (generate the deadbeaf id) or direct (get real serial number)
>> serial-number 12345678
>> vendor myvendor
>> </backing-store>
>> </target>
>>
>> what do you think?
>
> Hmm, 'properties custom' looks unnecessary for me. If a device file of
> a disk drive is used as backing-store and none of the properties are
> specified, we can use the physical properties.
we need something like properties to differentiate between disk (read
real props), file (generate unique serial number
disk-sn-partition-filename) and custom (applicable to any case).
we can call this attribute: "type" which can accept 3 values disk,
file or custom (default).
More information about the stgt
mailing list