Re: udev-122 scsi_id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 19, 2008 at 10:41 AM, John Huttley <John@xxxxxxxxxxxxxxxxxx> wrote:
> Kay Sievers wrote:
>>
>> On Sun, May 18, 2008 at 10:39 PM, John Huttley <john@xxxxxxxxxxxxxxxxxx>
>> wrote:
>>>
>>> Hi again,
>>> My foray into tape rules has come to an abrupt halt.
>>> I'm sure scsi_id is more confused that I am.
>>>
>>> I'm running it against a scsi attached HP Ultrium-1 drive
>>>
>>> gatekeeper by-id # scsi_id --whitelisted --export -d /dev/st2
>>> ID_VENDOR=HP
>>> ID_MODEL=C7438A
>>> ID_REVISION=ZU5A
>>> ID_SERIAL=1HP_C7438A_HU107108XD
>>> ID_SERIAL_SHORT=HP_C7438A_HU107108XD
>>> ID_TYPE=tape
>>>
>
>>> scsi_id is really mangling that serial number!! (short and long)
>>
>> It's that way since forever. It ensures unique serial numbers, which
>> is not given across vendors.
>
>
> Can we not do that please? The short serial number should at least be the
> 'serial number' as reported by the drive.
>
> Uniqueness is not required, after all we are using ID_VENDOR and ID_MODEL to
> generate an informative and unique identifier.

I guess we can change that, ID_SERIAL_SHORT was only added for ATA
compat links, which we do directly by using pass-through and the
ata_id program these days.

If you like, send a patch. :)

Thanks,
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux