next up previous contents index
Next: Reading and Writing Floppies Up: Using Floppies Previous: Using Floppies   Contents   Index


Formatting Floppies

In order to format a floppy there are two main commands I would suggest. If you are using a GUI you should look into using gfloppy. This command gives you a graphical interface where you can select the file system type for the disk and format it. If you are using the shell then you can use mke2fs. This is what you would type to format a floppy diskette:

bash# mke2fs /dev/fd0

In this command the /dev/fd0 refers to the floppy device numbered zero (the first one.) If you have more than one floppy you could change the floppy device number and format in another drive:

bash# mke2fs /dev/fd1

This will format the diskette to the ext2 file system format.



Joseph Colton 2002-09-24