Managing the filesystem table

  • /etc/fstab contains mount information for filesystems. Each line contains a single filesystem entry made up of six fields, shown in Table 10-11.

  • The /media directory is often used by distributions as a place to automount hotplug devices, such as USB drives.

    Table 10-11. Fields found in the /etc/fstab file




    The device file for the partition holding the filesystem.

    Mount point

    The directory upon which the filesystem is to be mounted.

    Filesystem type

    A filesystem type, such as ext3.

    Mount options

    A comma-separated list.

    Dump frequency

    For use with dump.

    Pass number for fsck

    Used at boot time.

Get LPI Linux Certification in a Nutshell, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.