How to mount a filesystem
Before a filesystem can be used it must be mounted.
Here is the step-by-step procedure to mount the diskette filesystem just created in the previous exercise:
- Log in as the root user.
- Make sure the floppy diskette is in the floppy disk drive.
- Assuming you created an HTFS filesystem on the diskette, and the diskette drive is the first floppy drive on your computer system, enter this command to mount the diskette filesystem onto your local filesystem:mount /dev/fd0 /mnt
- Type the following command. The diskette filesystem should now appear as a mounted 1.44 MB filesystem: df -kv
- You can now access the diskette filesystem with the usual Unix filesystem commands: cd /mnt
- When you are finished using the diskette, you should unmount it. This is done with the umount command: umount /mnt
Other useful commands: dtype, fstyp