I'm trying to get the UUID of this USB external floppy drive I have. I've been trying a variety of commands, and nothing seems to be giving me a definite UUID. I keep getting what appears to be the UUID of the floppy disks.
How do I get the external drive's UUID?
I want to add it to fstab on a home-made reconstructor live-cd, and be able for the drive to be read as /dev/sdb anywhere I go. So, if i were to use the live-cd on some random computer, and hook up the floppy drive, it would automatically be assigned to /media/floppy.
This is because various other usb devices try to take over that name (they become /dev/sdb before the external floppy drives becomes it). And the disk I have is an auto-start disk, which takes over the next few following commands. This allows for ease of workplace transfer from one box to another. If the other usb devices take over that device name/file, then the scripts on the disk are never launched. Thus, I'd have to do everything manually whenever I wanted the scripts on the disk to be launched. And that gets annoying real quick-like.
Here's some terminal stuff I tried:
Code:
root@Linux:/home/workstation# udevinfo -a -p /dev/sdb
no valid sysfs device found
What appears to be the disk's UUID:
Code:
root@Linux:/home/workstation# vol_id --uuid /dev/sdb
4780-B8F2