Mounting a Floppy Disk under Linux


REFERENCE: man mount

MS-DOS Floppy

To mount an ms-dos floppy, make a directory where you would like to mount it.
cd /
mkdir /floppy
Then issue this command

 mount -t msdos /dev/fd0 /floppy

To mount a floppy that is formatted for Linux (ext2) simply change msdos above to ext2.

To make this easier the next time you want to do it, you can add the following in your /etc/vfstab file.

/dev/fd0        /floppy msdos   defaults 1 1
This will probably cause your system to automatically try to mount the floppy drive on boot-up. If you don't ordinarily have a floppy disk in when you boot (most people don't as the system would then try to boot from the floppy) you may not want this.

Of course, it may not try to mount this automatically. I am just guessing and don't have time to test right now because I don't want to reboot my system right now.

Return to Gene's Home Page
Return to Gene's Random Unix Crap