mnttab(4) —
NAME
mnttab − mounted file system table
SYNOPSIS
#include <mnttab.h>
DESCRIPTION
The mnttab file 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>:
structmnttab {
charmt_dev[32];
charmt_filsys[32];
shortmt_ro_flg;
time_tmt_time;
charmt_fstyp[16];
charmt_mntopts[64];
};
Each entry is 150 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 next 6 bytes contain the mounted special file’s read/write permissions and the date on which it was mounted. The following 16 bytes are the null-padded name of the file system type, and the remaining 64 bytes are the null-padded string of mount options. The mount options are only used in the case of an NFS file system.
The maximum number of entries in mnttab is based on the system parameter NMOUNT located in /etc/conf/pack.d/kernel/space.c, which defines the number of allowable mounted special files.
SEE ALSO
mount(1M).
setmnt(1M) in the INTERACTIVE UNIX System User’s/System Administrator’s Reference Manual.
\*U — Version 1.0