LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 06-13-2008, 10:37 PM   #1
Cyberman
Member
 
Registered: Aug 2005
Distribution: Debian Stable
Posts: 158

Rep: Reputation: 16
I can't get the UUID of my External Floppy Drive


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

Last edited by Cyberman; 06-14-2008 at 06:41 PM.
 
Old 06-14-2008, 03:28 AM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,055

Rep: Reputation: Disabled
yes until you get a better answer...as I do not have such a device ....when its connected try going into the folder for /dev/....now my fd is internal so will never have a usb designator...but I am not even sure fds get one?

but if it does have one....its got to be in /dev/ somewhere
 
Old 06-14-2008, 03:36 AM   #3
tpreitzel
Member
 
Registered: Aug 2007
Posts: 253

Rep: Reputation: 28
blkid from e2fsprogs
 
Old 06-14-2008, 03:42 AM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
The UUID is for the filesystem, which is what you mount, and not the drive.
 
Old 06-14-2008, 06:35 PM   #5
Cyberman
Member
 
Registered: Aug 2005
Distribution: Debian Stable
Posts: 158

Original Poster
Rep: Reputation: 16
So, for the moment, I would have to use the UUID of the floppy disk instead of some identifier for the external drive?

I could do that, but I don't want to use that process for a long-term thing. I suspect if the floppy disk can hold out long enough, then that would be a nice thing.

Any other suggestions?
 
Old 06-14-2008, 10:12 PM   #6
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
What kind of interface does it have. If it has an ide interface, and it's internal, then it should be fixed and you don't need to use UUID= in the mount command. After inserting disk, is there a /dev/fd0* device?

Also, look at the fdutils package; grep your udev rules for "floppy"; and read the kernel's "floppy.txt" documentation on which boot options the drive may need.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Mount External (USB) Floppy Drive frank golden Linux - Hardware 8 06-17-2006 06:29 AM
External USB Floppy Drive - mount how? Jurek Linux - Newbie 3 02-25-2006 06:16 AM
external usb floppy drive won't work carvin5string Linux - Laptop and Netbook 2 04-01-2004 10:31 AM
Boot from external floppy drive Ashraf Linux - General 10 10-20-2002 03:25 PM
Recognizing/mounting an external floppy disk drive MisterT Linux - Hardware 1 10-04-2002 06:08 PM


All times are GMT -5. The time now is 08:18 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration