SETMNT(1M) — Silicon Graphics
NAME
setmnt − establish mount table
SYNOPSIS
/etc/setmnt
DESCRIPTION
Setmnt creates the /etc/mnttab table (see mnttab(4)), which is needed for both the mount(1M) and umount commands. Setmnt reads standard input and creates a mnttab entry for each line. Input lines have the format:
filesys node
where filesys is the name of the file system’s special file (e.g., “rp??”) and node is the root name of that file system. Thus filesys and node become the first two strings in the mnttab(4) entry.
EXAMPLE
/etc/devnm / | grep -v swap | grep -v root | /etc/setmnt
will put an entry for the root file system and the device on which it is mounted into the file /etc/mnttab (except if it is mounted on a device named "swap" or "root").
FILES
/etc/mnttab
SEE ALSO
BUGS
Evil things will happen if filesys or node are longer than 10 characters.
Setmnt silently enforces an upper limit on the maximum number of mnttab entries.
Version 2.4 — May 08, 1986