udev

Live forum: /viewtopic.php?t=60

glenux

13-11-2004 20:16:08

Just installed FC3 the other day.

I installed udev as well, but now I don't know how to mount usb drive like I used to.
I issue mount command
#mount -t vfat /dev/sda1 /mnt/usb1
I get a message mount special device /dev/sda1 does not exist

I try to fdisk
#fdisk /dev/sda
and I get Unable to open /dev/sda.

I tried sda, sdb, sdc. Nada.

GlennB

Colleen

13-11-2004 22:08:53

Just a random guess out of nowhere - maybe you need to use devfs style device names?

glenux

14-11-2004 19:37:31

I thought that the line below was using the devfs style.
#mount -t vfat /dev/sda1 /mnt/usb1

Can you give me an example, Colleen?
?

Colleen

14-11-2004 19:54:40

devfs device names are of the form:
/dev/scsi/host0/bus0/target2/lun0/part1

/dev/sda1 is the older way of doing things (but I like it and still use it on my machines, hehe). I don't use Fedora, nor do I have any USB drives, so I could be completely off-base here. It just occurred to me that that might be a reason for the device /dev/sda1 not to exist, so it might be worth checking (or might not be ;-P).

glenux

14-11-2004 22:59:49

I just now started reading some of the issues concerning using udev vs devfs.

This is not just a Fedora Core thing. It is in Gentoo and some other distributions as well. devfs is being depricated; it is no longer being supported in the newer kernels.

I read one account about a person last year got fed up with using udev and just uninstalled it and went back to devfs. I will do this if I can't get the udev thing to work.

I do like a challenge but maybe I am just making this too hard.

Despite

15-11-2004 09:00:07

you've probably already seen it, but just in case:
http://fedora.redhat.com/docs/udev/

specifically note that there's already an update for udev on FC3. also note the section toward the end under "But I Really Want My Device Node!"

Cybodog

08-12-2004 05:44:09

a little off topic, but for debian I found
http://ccomb.free.fr/wiki/wakka.php?wiki=UsbMassStorageEnglish

Maybe yu can gleam somthing of use from that?