Getting hard drive serial number from USB devices

Joseph Kubik josephkubik-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Sat Jan 14 20:12:05 UTC 2006


When automount sets a hex string for the path, is that the serial
number or the blkid uuid?
-Joseph-

On 1/14/06, Madison Kelly <linux-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org> 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.
>
> 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
>
--
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