MOUNTALL(1M) MOUNTALL(1M)
NAME
mountall, umountall - mount, unmount multiple file systems
SYNOPSIS
/etc/mountall [-] [file-system-table] ...
/etc/umountall [ -k ]
DESCRIPTION
These commands may be executed only by the super-user.
mountall is used to mount file systems according to a
file-system-table. (/etc/fstab is the default file system
table.) The special file name "-" reads from the standard
input.
Before each file system is mounted, it is checked using
fsstat(1M) to see if it appears mountable. If the file
system does not appear mountable, it is checked, using
fsck(1M), before the mount is attempted.
umountall causes all mounted file systems except root to be
unmounted. The -k option sends a SIGKILL signal, via
fuser(1M), to processes that have files open.
FILES
File-system-table format:
column 1 block special file name of file system
column 2 mount-point directory
column 3 "-r" if to be mounted read-only; "-d" if remote
column 4 (optional) file system type string
column 5+ ignored
White-space separates columns. Lines beginning with "#" are
comments. Empty lines are ignored.
A typical file-system-table might read:
/dev/dsk/c1d0s2 /usr -r S51K
SEE ALSO
fsck(1M), fsstat(1M), fuser(1M), mount(1M).
sysadm(1) in the User's Reference Manual.
signal(2), fstab(4) in the Programmer's Reference Manual.
DIAGNOSTICS
No messages are printed if the file systems are mountable
and clean.
Page 1 (last mod. 8/20/87)
MOUNTALL(1M) MOUNTALL(1M)
Error and warning messages come from fsck(1M), fsstat(1M),
and mount(1M).
ORIGIN
AT&T V.3
Page 2 (last mod. 8/20/87)