fstab(5)
NAME
fstab, mtab - list of file systems to mount, mounted file system table.
SYNOPSIS
/etc/fstab
/etc/mtab
DESCRIPTION
/etc/fstab is a table of file system to mount at boot time, /etc/mtab is
a table of currently mounted file systems as maintained by mount and
umount.
These tables contain lines of seven fields, the last three numeric.
Fstab may also contain empty lines, or commentary preceded by a '#'. The
layout is:
device directory type options freq pass time
These fields may be explained as follows:
device
A block special device, or a loopback mounted file or directory.
directory
Mount point. For swap devices this must be swap.
type
One of dev, 1, 2, 1f, 2f, lo, swap, or ignore, as explained by
mount(1).
options
A comma separated list of ro, rw, nosuid, grpid, nf, swap, user,
noauto, or mkfs, also explained by mount(1). The mtab file will
only show the first six. Either ro or rw must be specified in
fstab.
freq
Dump frequency in days. Tells how often a file system should be
backed up. (0 for no backup.)
pass
Pass number for a parallel fsck. File systems will be checked in
the order given by the pass number. Devices with the same pass
number will be checked in parallel. (0 for no fsck.)
time
Time the file system was mounted in seconds since the epoch. This
field has no meaning in fstab, so just use a 0.
FILES
/etc/fstab List of file systems to mount at boot time.
/etc/mtab List of mounted file systems.
SEE ALSO
getmntent(3), mount(1), fsck(1), mkfs(1).
BUGS
We could use a nice backup program and a parallel fsck. For the first
use tar(1) for now, and wait a little longer for the fsck to finish.
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)