4.3BSD-UWisc/man/cat5/mtab.5
MTAB(5) UNIX Programmer's Manual MTAB(5)
NAME
/etc/mtab - mounted file system table
SYNOPSIS
#include <mntent.h>
DESCRIPTION
_M_t_a_b resides in the /_e_t_c directory, and contains a table of
filesystems currently mounted by the _m_o_u_n_t command. _U_m_o_u_n_t
removes entries from this file.
The file contains a line of information for each mounted
filesystem, structurally identical to the contents of
/_e_t_c/_f_s_t_a_b, described in _f_s_t_a_b(5). There are a number of
lines of the form:
9 _f_s_n_a_m_e _d_i_r _t_y_p_e _o_p_t_s _f_r_e_q _p_a_s_s_n_o
9 for example:
9 /dev/xy0a / 4.2 rw,noquota 1 2
The file is accessed by programs using _g_e_t_m_n_t_e_n_t(3), and by
the system administrator using a text editor.
FILES
/etc/mtab
SEE ALSO
getmntent(3), fstab(5), mount(8)
9
Printed 12/27/86 28 August 1985 1