DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

nmountall(NADM)


nmountall -- nmountall, numountall -- mount, unmount multiple filesystems

Syntax

/etc/nmountall

/etc/numountall

Description

The nmountall command is used to mount NFS filesystems according to entries in /etc/default/filesys. It is strongly recommended that the NFS mount option, bg, be used for filesystems which are mounted automatically during startup. This will prevent startup processing from hanging while trying to mount a filesystem from a very slow or dead server.

The numountall command causes all NFS mounted filesystems to be unmounted. Processes which hold open files or have current directories on these filesystems are killed by being sent a series of signals. The first signal sent is SIGHUP. One second later, SIGTERM will be sent. Finally, one second later, SIGKILL will be sent.

These commands may be executed only by the super user.

Diagnostics

nmountall will print 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 filesystems which are being unmounted is also printed.

Limitations

The information displayed in Column 3 will appear only if the filesystem was mounted read-only.

Files

Filesystem-table format:

column 1
remote filesystem name to be mounted

column 2
mount-point directory

column 3
-r if to be mounted read-only

column 4
filesystem type string

column 5+
ignored

White space separates columns. Any lines beginning with ``#'' are comments. Empty lines are ignored.

A typical filesystem-table entry might read:

   srcmachine:/usr/src	/usr/src	-r	NFS,soft,bg

See also

filesys(F), fuser(ADM), mount(ADM), signal(S), umount(ADM)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003