Getting hard drive serial number from USB devices

Peter plp-ysDPMY98cNQDDBjDh4tngg at public.gmane.org
Sat Jan 14 22:07:22 UTC 2006



On Sat, 14 Jan 2006, Madison Kelly wrote:

> Peter wrote:
>> 
>> lsusb -v|...|grep iSerial
>
> Thanks for the reply!
>
>  Unfortunately, that only gives the serial number of the USB controller, not 
> the hard drive itself. This is a problem because I use USB drives with 
> removable disk carriers. If I rely on the USB/IDE ASIC's serial number my 
> program would not be able to tell the difference between different hard 
> drives connected through the common carrier.

Afaik there is no way to access the attached IDE's ioctl functions (or 
SMART data for that matter) through a normal USB dongle. If there is 
one, I am interested too. I thought you used normal USB disk-on-key 
devices.

Peter


--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list