Alan McKinnon wrote: > On Tuesday 03 June 2008, Tim wrote: >> I recently had occasion to need a floppy drive. Thankfully, there was >> one in my Gentoo box, but no support in the kernel. I added >> CONFIG_BLK_DEV_IDEFLOPPY=y to .config and already had support for my >> IDE chipset included, rebuilt my kernel, and rebooted. >> >> Now I have a folder /dev/fd/, but every entry there (0, 1, 2, and >> 255) are all symlinks to /dev/pts/0. Relevant command outputs: > > /dev/fd is a symlink to /dev/self/fd > > and I believe that fd here means "file descriptor" not "floppy disk" > > do you have devices /dev/fd0 etc instead? If not, what do you get from > I do not.
> grep -r fd /etc/udev/rules.d/ > produces: /etc/udev/rules.d/99-libsane.rules:SYSFS{idVendor}=="06bd", SYSFS{idProduct}=="20fd", MODE="660", GROUP="scanner" /etc/udev/rules.d/60-persistent-storage.rules:KERNEL=="ram*|loop*|fd*|nbd*|gnbd*|dm-*|md*", GOTO="persistent_storage_end" /etc/udev/rules.d/50-udev.rules:KERNEL=="fd[0-9]*", NAME="floppy/%k", SYMLINK+="%k", GROUP="floppy" /etc/udev/rules.d/50-udev.rules:KERNEL=="fd[0-9]*", ACTION=="add", ATTRS{cmos}=="*", RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M 0660 -G floppy $root/floppy/%k" /etc/udev/rules.d/50-udev.rules:KERNEL=="fd[0-9]*", ACTION=="remove", RUN+="/bin/sh -c 'rm -f $root/floppy/%k?*'" -Tim -- gentoo-user@lists.gentoo.org mailing list