setmnt(1M)
NAME
setmnt − establish mount table /etc/mnttab
SYNOPSIS
/etc/setmnt
DESCRIPTION
setmnt creates the /etc/mnttab table (see mnttab(4)), which is needed for both the mount(1M) and umount commands (see mount(1M)). setmnt reads the standard input and creates an entry in /etc/mnttab for each line. Input lines have the format:
filesys node
where filesys is the name of the file system’s "special file" (for example, /dev/dsk/c0d0s2) and node is the root name of that file system. Thus filesys and node become the first two strings in the mount table entry.
WARNINGS
The mount(1M) and umount(1M) commands 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. The syncer(1M) command also updates mnttab if it is out of date.
mnttab should never be manaully edited. Use of this command to write invalid information into mnttab is strongly discouraged.
setmnt silently enforces an upper limit on the maximum number of /etc/mnttab entries.
It is unwise to use setmnt to create false entries for mount(1M) and umount.
FILES
/etc/mnttab table of mounted file systems
SEE ALSO
devnm(1M), mount(1M), mnttab(4).
STANDARDS CONFORMANCE
setmnt: SVID2
Hewlett-Packard Company — HP-UX Release 8.05: June 1991