MNTTAB(4) — HP-UX
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. The file contains a line of information for each mounted filesystem, structurally identical to the contents of /etc/checklist, described in checklist(4).
There are a number of lines of the form:
special_file_name dir type opts freq passno mount_time
For example:
/dev/dsk/c0d0s0 / hfs rw 0 1 537851723
The file is accessed by programs using getmntent(3X), and by the system administrator using a text editor.
Mount_time contains the time the file system was mounted using mount(1M). The value is the number of seconds since 00:00:00 GMT, January 1, 1970; see time(2).
The maximum number of entries in mnttab is based on the system parameter NMOUNT located in <mnttab.h>, which defines the number of allowable mounted special files.
WARNINGS
The table is present only for programs to return information about the mounted file systems. It does not matter to mount if there are duplicated entries nor to umount if a name cannot be found.
AUTHOR
Mnttab was developed by the University of California, Berkeley, Sun Microsystems, Inc., and HP.
FILES
/etc/mnttab
SEE ALSO
mount(1M), setmnt(1M), getmntent(3X), checklist(4).
Hewlett-Packard Company — May 11, 2021