4. Mounting Floppy Disks

4.1. Using the ext2 File System

To create an ext2 system on a formatted disk,use the below command.

# mkfs -t ext2 -m 0 /dev/fd0H1440 1440

Then, mount the disk with the following commands.Once mounted,you can use files on the floppy disk just like those on your hard disk.

# mount -t ext2 /dev/fd0 /mnt/floppy
# cp ~/hogehoge /mnt/floppy

# umount /mnt/floppy

4.2. Using the dos File System

The mkdosfs command lets you create a dos file system.

# mkdosfs /dev/fd0
# mount -t (file type) /dev/fd0 /mnt/floppy

# umount /mnt/floppy

The file type can be either msdos or vfat.