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.
The mountall command 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.
The umountall command 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/0s1 /usr −r S51K
SEE ALSO
fsck(1M), fsstat(1M), fuser(1M), mount(1M).
signal(2), fstab(4) in the INTERACTIVE SDS Guide and Programmer’s Reference Manual.
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).
NOTES
The information displayed in Column 3 will only appear if the file system was mounted as a read-only or remote resource.
\*U — Version 1.0