Getting hard drive serial number from USB devices

Sy Ali sy1234-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Sat Jan 14 21:52:45 UTC 2006


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:
Unit serial number [page 0x80]; page abbreviation: "sn". This is a
vendor specific (vendor format) serial number.



[1] http://www.cs.toronto.edu/~jdd/
[2] ftp://ftp.cs.toronto.edu/pub/jdd/scsiinfo/README
[3] http://sg.torque.net/sg/sdparm.html


Some other random trails:
* http://home.earthlink.net/~akonshin/delphi_components.htm
* http://www.experts-exchange.com/Programming/Programming_Languages/Pascal/Q_20585823.html
* Search for info on getting the serial number from a memory stick or
thumbdrive.
--
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