Floppy Disk Mounting mini-HowTo
March 6, 2003
Here is a general overview of the mount command for Fd Linux. This mini-HowTo will demonstrate how to mount floppy disks that have different file systems, how to access the mount and how to un mount the floppy device.
There are really only two commands you need to know in order to successfully mount and un mount a block device under Fd Linux. These two commands, along with their syntax and command structure, are:
1) mount - mounts the file system on the block device
|With `mount`, there are
some useful command flags that you need to be aware of:
the file system read-only. A synonym is -o ro.
-t vfstype The argument following the -t is used to indicate the file system type.
The command structure is layed out like this:
mount [-r -w -t <filesystem>] <device_to_mount>
2) umount - un mounts the file system on the block device
|The command structure is
layed out like this:
To learn more about the `mount` syntax and general usage, goto the MOUNT MAN Page.
To learn more about the `umount` syntax and general usage, goto the UMOUNT MAN Page.
To mount the floppy disk formatted with a second extended file system (ext2), you would type:
[root@fdlinux]# mount -t ext2 /dev/fdX /mnt/floppy
To mount the floppy disk formatted with a FAT file system (vfat), you would type:
[root@fdlinux]# mount -t vfat /dev/fdx /mnt/floppy
X = the floppy device number (0 signifies the first, or primary, floppy drive, and so on)
1) You boot into Fd Linux and bypass all the network configuration scripts because the stock Fd Linux build does not have the network card module you need in order to set up your network connection. You have a Linux desktop computer and you decide to copy the needed network card module onto the disk. Once you complete that you, you put the disk into your Fd Linux machine and proceed to mount the disk. The commands you would type to do that is:
(root->fdlinux)% mount -t ext2 /dev/fd0 /mnt/floppy
2) You begin to use Fd Linux quite often and on a regular basis. You sit down and compile a really nice list of ipchains/iptables rules in order to keep your internal network safe. Since you still work alot on a Windows machine, you typed all your filtering/routing rules in a Windows-based text editor. So you format the disk in Windows and copy the rules files to the disk. The commands you would need to be able to mount the floppy disk are:
(root->fdlinux)% mount -t vfat /dev/fd0 /mnt/floppy
If you feel that anything should be added to this mini-HowTo, please feel free to send me an Inquiry Ticket about it!