The file /etc/mtab explained

All mounted drives on your system with their options are listed in the file /etc/mtab. This file is automatically generated and updated. The options in the right order: Drive Mount point File system Options Dump Check An example: dev/sda2 / ext3 rw,errors=remount-ro 0 0 tmpfs /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0 proc /proc proc rw,noexec,nosuid,nodev 0 […]

The file /etc/fstab explained

In the file /etc/fstab you keep all devices (Hard discs, cdrom/dvd drives, etc.) that may be mounted on your system. An example: # Root file system /dev/hda1 / ext2 defaults 1 1 # The directory /var gets its own partition /dev/hdb2 /var ext2 defaults 1 2 # The swap partition /dev/hda3 swap swap defaults 0 […]