mountall(1M) MISC. REFERENCE MANUAL PAGES mountall(1M)
NAME
mountall, umountall - mount, unmount multiple file systems
SYNOPSIS
mountall [-F FSType] [-l | -r] [ file_system_table]
umountall [-F FSType] [-k] [-l | -r]
DESCRIPTION
These commands may be executed only by a privileged user.
mountall is used to mount file systems according to a
file_system_table. (/etc/vfstab is the default file system
table.) The special file name "-" reads from the standard
input. If the dash is specified, then the standard input
must be in the same format as /etc/vfstab. With no argu-
ments mountall restricts the mount to all systems with
automnt field set to yes in the file_system_table.
Before each file system is mounted, a sanity check is done
using fsck [see fsck(1M)] to see if it appears mountable.
If the file system does not appear mountable, it is fixed,
using fsck, before the mount is attempted.
umountall causes all mounted file systems except root,
/proc, /var, and /usr to be unmounted. If the FSType is
specified mountall and umountall limit their actions to the
FSType specified.
The options are:
-F Specify the File System type to be mounted or
unmounted. If FSType is specified the action is
limited to file systems of this FSType.
-l Limit the action to local file systems.
-r Limit the action to remote file system types.
-k Send a SIGKILL signal to processes that have files
opened.
DIAGNOSTICS
No messages are printed if the file systems are mountable
and clean.
Error and warning messages come from fsck(1M) and mount(1M).
SEE ALSO
fsck(1M), fuser(1M), mount(1M), vfstab(4), mnttab(4).
signal(2) in the Programmer's Reference Manual.
Last change: 1