MOUNTALL(1M) — Kubota Pacfic Computer Inc. (Essential Utilities)
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 1block special file name of file system
column 2mount-point directory
column 3"−r" if to be mounted read-only
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), fstab(4), fuser(1M), mount(1M), signal(2), sysadm(1).
DIAGNOSTICS
No messages are printed if the file systems are mountable and clean.
Error and warning messages come from fsck(1M), fsstat(1M), and mount(1M).
September 02, 1992