BobM Miller wrote:
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.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...)
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.If not, you could uniquely identify disks with volume labels or if you're using LVM, each PV has a globally unique ID.
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 _______________________________________________ EUGLUG mailing list [EMAIL PROTECTED] http://www.euglug.org/mailman/listinfo/euglug
