Getting hard drive serial number from USB devices

Madison Kelly linux-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org
Sat Jan 14 22:41:14 UTC 2006


Peter wrote:
> 
> 
> 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

   Aye... I am starting to think the same thing, though why I can't 
escapes me. I've found how to get the serial number off of actual SCSI 
devices, off of USB printers and such and I can read the drive's model 
number and firmware revision but just not the darn serial number itself! >.<

   If I do find a way though, I will certainly let you (and all) know, 
though I am not holding my breath now.

Madison

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
           Madison Kelly (Digimer)
    TLE-BU; The Linux Experience, Back Up
Main Project Page:  http://tle-bu.org
Community Forum:    http://forum.tle-bu.org
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
--
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