.TH FSTAB 5 .SH NAME fstab, mtab \- list of file systems to mount, mounted file system table. .SH SYNOPSIS .B /etc/fstab .PP .B /etc/mtab .SH DESCRIPTION .B /etc/fstab is a table of file system to mount at boot time, .B /etc/mtab is a table of currently mounted file systems as maintained by .B mount and .BR umount . .PP 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: .sp .RS .nf .ft B .ta +10n +13n +8n +11n +8n +8n device directory type options freq pass time .ft P .fi .RE .PP These fields may be explained as follows: .sp .B device .br .RS A block special device, or a loopback mounted file or directory. .RE .sp .B directory .br .RS Mount point. For swap devices this must be .BR swap . .RE .sp .B type .br .RS One of .BR dev , .BR 1 , .BR 2 , .BR 1f , .BR 2f , .BR lo , .BR swap , or .BR ignore , as explained by .BR mount (1). .RE .sp .B options .br .RS A comma separated list of .BR ro , .BR rw , .BR nosuid , .BR grpid , .BR nf , .BR swap , .BR user , .BR noauto , or .BR mkfs , also explained by .BR mount (1). The mtab file will only show the first six. Either .B ro or .B rw must be specified in fstab. .RE .sp .B freq .br .RS Dump frequency in days. Tells how often a file system should be backed up. (0 for no backup.) .RE .sp .B pass .br .RS 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.) .RE .sp .B time .br .RS Time the file system was mounted in seconds since the epoch. This field has no meaning in fstab, so just use a 0. .RE .SH FILES .TP 15n .B /etc/fstab List of file systems to mount at boot time. .TP .B /etc/mtab List of mounted file systems. .SH "SEE ALSO" .BR getmntent (3), .BR mount (1), .BR fsck (1), .BR mkfs (1). .SH BUGS We could use a nice backup program and a parallel fsck. For the first use .BR tar (1) for now, and wait a little longer for the fsck to finish. .SH AUTHOR Kees J. Bot (kjb@cs.vu.nl)