[Eug-lug] Reading data to multiple variables

Garl Grigsby badd_karma at comcast.net
Mon Aug 2 15:49:40 PDT 2004


BobM Miller wrote:

>In /proc/bus/usb/devices, I see a "SerialNumber" attribute.  My USB
>Maxtor's serial number is Y625M91E.  I only have one disk, so I don't
>know whether that's unique.  (One would hope so...)
>
>  
>
Again with the flaky semi-standard USB devices. These devices do not 
have serial numbers and I have not found a way to access the drive's 
serial number directly.

>If not, you could uniquely identify disks with volume labels or if
>you're using LVM, each PV has a globally unique ID.
>
>  
>
Origonally I had a requirement to have the drives be formated in NTFS so 
I was using CaptiveNTFS to read the disks. So I thought of using NTFS 
volume labels, problem is I can find no way to read the label in Linux.

I have given up on the NTFS requirement. Both drives are now formated 
ext3. e2label to the rescue.

>Let us know what you find out.
>
>  
>
NTFS and USB devices both suck.

Maybe someday I will actually get this finished and deployed.....

Garl


More information about the EUGLUG mailing list