- Specifies which filesystems to mount on boot up
- Easiest to use graphical tool off of control-panel to edit
- The following mounts the ext2 partition /dev/sda2 onto /u2 :
/dev/sda2 /u1 ext2 defaults 1 1
- The following mounts the DOS vfat partition /dev/sda4 onto /dosc
and makes it so that only the user with UID 1008 can read and write
files on it:
/dev/sda4 /dosc vfat defaults,uid=1008,gid=0,umask=077 2 2
- The following allows any user to mount the cdrom onto /cdrom:
/dev/cdrom /cdrom iso9660 ro,user,unhide,exec,nosuid,nodev,noauto 0 0
- More information in mount and fstab man pages
- Using mount -a will try to mount everything in fstab
- Mount files individually with mount command:
mount -t iso9660 -o ro,nosuid /dev/cdrom /cdrom
- The directory that the filesystem is being mounted onto
must be an existing directory