
FSTAB(5)		   UNIX Programmer's Manual		   FSTAB(5)

NNAAMMEE
     ffssttaabb - static information about the filesystems

SSYYNNOOPPSSIISS
     ##iinncclluuddee <<ffssttaabb..hh>>

DDEESSCCRRIIPPTTIIOONN
     The file ffssttaabb contains descriptive information about the various file
     systems.  ffssttaabb is only read by programs, and not written; it is the duty
     of the system administrator to properly create and maintain this file.
     Each filesystem is described on a separate line; fields on each line are
     separated by tabs or spaces.  The order of records in ffssttaabb is important
     because fsck(8),  mount(8),  and umount(8) sequentially iterate through
     ffssttaabb doing their thing.

     The first field, (_f_s___s_p_e_c), describes the block special device or remote
     filesystem to be mounted.

     The second field, (_f_s___f_i_l_e), describes the mount point for the filesys-
     tem.  For swap partitions, this field should be specified as ``none''.

     The third field, (_f_s___v_f_s_t_y_p_e), describes the type of the filesystem.  The
     system currently supports three types of filesystems:

	   _m_i_n_i_x   a local Linux filesystem.

	   _e_f_s	a local Linux filesystem with longer filenames and larger
		   inodes.

	   _m_s_d_o_s   a local Linux filesystem for MS-DOS partitions.

	   _i_s_o_9_6_6_0
		   a local Linux filesystem used for CD-ROM drives.

	   _n_f_s	a local Linux filesystem for mounting partitions from re-
		   mote systems.

	   _s_w_a_p	a disk partition to be used for swapping.

     If _v_f_s___f_s_t_y_p_e is specified as ``ignore'' the entry is ignored.  This is
     useful to show disk partitions which are currently unused.

     The fourth field, (_f_s___m_n_t_o_p_s), describes the mount options associated
     with the filesystem.

     It is formatted as a comma separated list of options.  It contains at
     least the type of mount plus any additional options appropriate to the
     filesystem type.

     The fifth field, (_f_s___f_r_e_q), is used for these filesystems by the dump(8)
     command to determine which filesystems need to be dumped.	If the fifth
     field is not present, a value of zero is returned and dump will assume
     that the filesystem does not need to be dumped.

     The sixth field, (_f_s___p_a_s_s_n_o), is used by the fsck(8) program to determine
     the order in which filesystem checks are done at reboot time.  The root
     filesystem should be specified with a _f_s___p_a_s_s_n_o of 1, and other filesys-
     tems should have a _f_s___p_a_s_s_n_o of 2.	Filesystems within a drive will be
     checked sequentially, but filesystems on different drives will be checked
     at the same time to utilize parallelism available in the hardware.	If
     the sixth field is not present or zero, a value of zero is returned and
     fsck will assume that the filesystem does not need to be checked.

     The proper way to read records from _f_s_t_a_b is to use the routines
     getmntent(3).

FFIILLEESS
     /etc/fstab	The file ffssttaabb resides in _/_e_t_c.

SSEEEE AALLSSOO
     getmntent(3)

HHIISSTTOORRYY
     The ffssttaabb file format appeared in 4.0BSD.

4th Berkeley Distribution	May 10, 1991				2
