nmountall(1M) —
NAME
nmountall, numountall − mount, unmount multiple file systems
SYNOPSIS
/etc/nmountall
/etc/numountall
DESCRIPTION
The nmountall command is used to mount NFS file systems according to entries in /etc/fstab. It is strongly recommended that the NFS mount option, bg, be used for file systems that are automatically mounted during startup. This prevents startup processing from hanging while trying to mount a file system from a very slow or dead server.
The numountall command causes all NFS mounted file systems to be unmounted. Processes that hold open files or have current directories on these file systems are killed by being sent a series of signals. The first signal sent is SIGHUP. One second later, SIGTERM is sent. Finally, one second later, SIGKILL is sent.
These commands may be executed only by the superuser.
FILES
File system table format:
column 1remote file system name to be mounted
column 2mount point directory
column 3−r if to be mounted read-only
column 4file system type string
column 5+ ignored
White space separates columns. Lines beginning with “#” are comments. Empty lines are ignored.
A typical file system table entry might read:
srcmachine:/usr/src /usr/src −r NFS,soft,bg
SEE ALSO
mount(1M).
fuser(1M) in the INTERACTIVE UNIX System User’s/System Administrator’s Reference Manual.
umount(2), signal(2), fstab(4) in the INTERACTIVE SDS Guide and Programmer’s Reference Manual.
DIAGNOSTICS
The nmountall command prints the mount commands that it will run before it runs them.
The numountall command prints the list of process IDs to which it sent signals. The list of file systems that are being unmounted is also printed.
NOTES
The information displayed in Column 3 only appears if the file system was mounted as read-only.
\*U — Version 1.0