MNTTAB(4) MNTTAB(4)
NAME
mnttab - mounted file system table
SYNOPSIS
#include <mnttab.h>
DESCRIPTION
mnttab resides in directory /etc and contains a table of
devices, mounted by the mount(1M) command, in the following
structure as defined by <mnttab.h>:
struct mnttab {
char mt_dev[32];
char mt_filsys[32];
short mt_ro_flg;
time_t mt_time;
char mt_fstyp[16];
char mt_mntopts[64];
};
Each entry is 70 bytes in length; the first 32 bytes are the
null-padded name of the place where the special file is
mounted; the next 32 bytes represent the null-padded root
name of the mounted special file; the remaining 6 bytes
contain the mounted special file's read/write permissions
and the date on which it was mounted.
The maximum number of entries in mnttab is based on the
system parameter NMOUNT located in
/usr/src/uts/sysgen/descriptions/kernel, which defines the
number of allowable mounted special files.
SEE ALSO
mount(1M), setmnt(1M) in the System Administrator's
Reference Manual.
FILES
/etc/mnttab.
Page 1 May 1989