fedora core 4: no fd0u1680?

Joe Smith jes at martnet.com
Sun Oct 1 04:40:24 UTC 2006


fedoralist at subtropolix.org wrote:
> ...
> 
> [root at apollo ~]# mount -t vfat /dev/fd0 /media/floppy/
> [root at apollo ~]# ls /media/floppy/
> ?.?           8v??.??       fp??????.?1?  ??syslin.ux   ???.u??
> ????????.???  }???.?b?      f?>?tf??.t??  ????????.?t?  ???}????.u}?
> ?.??>         ??b?6?t?.???  f!?txf?.?     ???????.t?=   ???????u
> ...

Dude--you have got to start using more descriptive file names. Seriously.

I just looked again and I actually have '/dev/fd0u1680' (and about a 
dozen other 'fd0u' device nodes). I'm using FC5.

I actually gave a talk on udev once, but I'm still no expert. I have a 
summary slide from the talk here: 
http://www.martnet.com/~jes/temp/hotplug.png (just kidding)
and some more links here: 
http://www.martnet.com/~jes/CHLUG/HAL_udev_hotplug_links.html,
although those may be pretty stale by now. The best cookbook-type 
resource is still here: http://www.reactivated.net/udevrules.php

Anyway, I believe the fd0u devices are being created by this rule in 
/etc/udev/rules.d/50-udev.rules:
KERNEL=="fd[0-9]*", ACTION=="add", SYSFS{device/cmos}=="*",\
RUN+="create_floppy_devices -c -t $sysfs{device/cmos} -m %M /dev/%k"

This is actually running a utility, /lib/udev/create_floppy_devices, 
which comes with the udev package.

Sorry I can't give you more specific help but maybe enough clues for a 
good start.

<Joe




More information about the users mailing list