Getting hard drive serial number from USB devices

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



On Sat, 14 Jan 2006, Sy Ali wrote:

> On 1/14/06, Madison Kelly <linux-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org> wrote:
>> PS - I'm still looking for a way to get the serial number from USB
>> connected hard drives... :p
>
> John DiMarco[1] maintains scsiinfo[2], a a SCSI information tool for
> Sun systems.
>
> cat /proc/scsi/scsi gives some info..  Is it relevant?
>
> I haven't tried it, but there is sdparm[3].  It says that it can get a
> serial number.  quote:

I don't think that it's going to work for IDE attached to a USB adaptor. 
At best, it may give the s/n of the usb-scsi driver.

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