mountall(1M) mountall(1M)
NAME
mountall, umountall - mount, unmount multiple file systems
SYNOPSIS
mountall [-F FSType] [-L level] [-l | -r] filesystemtable | -
umountall [-F FSType] [-k] [-l | -r]
DESCRIPTION
These commands may only be executed by a privileged user.
mountall is used to mount file systems according to a
filesystemtable. (/etc/vfstab is the default file system table.) The
special file name "-" reads from standard input. If the dash is speci-
fied, then the standard input must be in the same format as
/etc/vfstab. With no arguments mountall restricts the mount to all
systems with automnt field set to yes in the filesystemtable.
Before each file system is mounted, a sanity check is performed using
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,
/dev/fd and /usr to be unmounted. If the FSType is specified mountall
and umountall limit their actions to the FSType specified.
OPTIONS
-F Specifies the file system type to be mounted or unmounted. If
FSType is specified the action is limited to file systems of this
FSType.
-l Limits the action to local file systems.
-L Limits the action to file systems at a specified level. Legal
levels are 0 through 9 and u:
Level 0: Essential file systems for boot process (such as
/usr, /var)
Level 1-9: Other file systems.
Level u: mount and fsck all levels except level 0.
-r Limits the action to remote file system types.
-k Sends 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).
Page 1 Reliant UNIX 5.44 Printed 11/98
mountall(1M) mountall(1M)
SEE ALSO
fsck(1M), fuser(1M), mount(1M), signal(2), vfstab(4), mnttab(4).
Page 2 Reliant UNIX 5.44 Printed 11/98