Quote:
Originally Posted by riba43
This is the result.
riba:/home/bgorjup # sudo mount -t msdos /dev/fd/0 /media/floppy
mount: /dev/fd/0 ni bločna naprava
(mount: /dev/fd/0 is not block device) hope this is the right translation "block device"
|
I think I made the wrong assumption about the /dev/fd/* devices. They are linked to /dev/pts/ devices.
Look at "/sbin/lsmod | grep floppy"
Do you have a floppy module loaded?
locate floppy.ko
/lib/modules/2.6.18.8-0.3-default/kernel/drivers/block/floppy.ko
/lib/modules/2.6.18.8-0.3-default/kernel/drivers/ide/ide-floppy.ko
Or if you have an ide-floppy drive, you may need to "sudo /sbin/modprobe ide-floppy".
Does /etc/modprobe.conf contain the line:
alias block-major-2 floppy
If not, add the line to /etc/modprobe.conf.local.
Look at the running kernel's config file:
zcat /proc/config.gz
There are two config entries that need to be either y or m
CONFIG_BLK_DEV_IDEFLOPPY=m
I'm not sure of this one:
CONFIG_BLK_DEV_FD=y
and check for:
ARCH_MAY_HAVE_PC_FDC=y
In the kernel source Documentation/ directory is a floppy.txt which lists boot options you may need and the modprobe.conf entries to add if you want these options every time.