mnttab(4) INTERACTIVE UNIX System mnttab(4)
NAME
mnttab - mounted file system table
SYNOPSIS
#include <mnttab.h>
DESCRIPTION
mnttab resides in directory /etc. It 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];
};
The meanings of the fields are as follows:
mt_dev The null-padded name of the place where the
special file is mounted.
mt_filsys
The null-padded name of the mount point for
the special file.
mt_ro_flg
The read/write permissions of the mounted file
system.
mt_time The date and time that the mount occurred.
mt_fstyp The type of file system that is mounted.
mt_mntopts
The options used in mounting the file system;
these are specific to the type of file system
being mounted.
The maximum number of entries in mnttab is based on the sys-
tem parameter NMOUNT, which defines the number of allowable
mounted special files.
SEE ALSO
fstyp(1M), mount(1M), setmnt(1M) in the INTERACTIVE UNIX
System User's/System Administrator's Reference Manual.
Rev. 1.2 Page 1