In Linux the floppy is generally /dev/fd0 (equivalent to a: in Windows ).
The standard mount point for floppies is /media/floppy. You can easily mount the floppy with the command:
If you have a line like this in /etc/fstab:
/dev/fd0 /media/floppy auto user,noauto 0 0
To have read/write access to floppy disks one can do following steps.
- Make sure the floppy kernel module is loaded
lsmod | grep floppy
If this is not the case, edit /etc/modules and add a line that contains
- Create a folder as root to mount the floppy to:
You'll only have to do this, if the folder doesn't exist yet. Choose a name ( and location ) of your desire. The desktop environment will adapt to this automatically.
- Change ownership and permissions
chgrp floppy /media/floppy chmod 750 /media/floppy
That way, only users in group "floppy" can access this directory. Also, if no floppy is mounted, there are no write permissions to this location, therefore nobody can accidentally drop data in here. Users that are not members of the floppy group can't read or write here at all.
- Add the following line to /etc/fstab
/dev/fd0 /media/floppy auto rw,user,noauto,exec,gid=floppy,umask=007 0 0
Now every user can mount a floppy to /media/floppy. After mounting the floppy, the group of /media/floppy will still be "floppy" ( it would be "root" if the gid option was omitted ). Also, members of group "floppy" will now be able to write to this directory, while everyone else still has no read or write permissions ( if everyone else should have read permissions, umask must be set to 002 ).
Note on Laser Servo Diskette Drives
If your floppy drive is actually a Laser Servo Diskette (LS120) drive, this will be named /dev/hdc or /dev/hdd