mnttab(4)
NAME
mnttab − mounted file system table
SYNOPSIS
#include <mntent.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 which, with the exception of the cnode_id field, is 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 cnode_id
consisting of entries similar to:
/dev/dsk/c0d0s0 / hfs rw 0 1 537851723 1
/etc/mnttab is accessed by programs using getmntent(3X), It should never be manually edited, nor should setmnt(1m) ever be used to create invalid entries in /etc/mnttab.
mount_time contains the time the file system was mounted using mount(1M). Its value is the number of seconds since the Epoch (00:00:00 Coordinated Universal Time, January 1, 1970 (see time(2).
mount(1M) and umount(1M) rewrite the mnttab file whenever a file system is mounted or unmounted if mnttab is found to be out of date with the mounted file system table maintained internally by the HP-UX kernel. syncer(1M) also updates mnttab if it is out of date.
WARNINGS
The table is provided only as a means for programs to return information about mounted file systems.
/etc/mnttab should never be manually edited. Any manual changes made to /etc/mnttab are overwritten without warning by syncer(1M), mount(1M), or umount(1M).
AUTHOR
mnttab was developed by the University of California, Berkeley, Sun Microsystems, Inc., and HP.
FILES
/etc/mnttab
SEE ALSO
mount(1M), getmntent(3X), checklist(4).
Hewlett-Packard Company — HP-UX Release 8.05: June 1991