Introduction
/etc/fstab describes the filesystems a system can mount, including swap areas. The
administrator writes it; mount, umount, swapon, fsck,
dump and other programs read it.
Structure
A text file with one filesystem per line and six fields separated by spaces or tabs: device or source,
mount point, filesystem type, mount options, dump frequency and check pass number. Blank lines and lines
starting with # are ignored, and the order of the lines matters.
Not described
Known, not yet covered
- Reference: the layout of the format is not yet described here: the forms each field can take, escapes and mount options are in the fstab(5) manual page.
- Viewer: the site has no viewer for this format.
Links
Software
- mount, fsck, swapon – system programs that read the table (Linux and Unix-like systems)
Reference
- fstab(5) – static information about the filesystems