MOUNTALL(ADM) UNIX System V
Name
mountall, umountall - mount, unmount multiple file systems
Syntax
/etc/mountall [-] [filesystem-table] ...
/etc/mountall [-a]
/etc/umountall [-k]
Description
These commands can be executed only by the super-user.
The mountall command is used to mount filesystems according
to a filesystem-table. (/etc/default/filesys is the default
filesystem table.) The special file name "-" reads from the
standard input.
Before each file system is mounted, it is checked using
fsstat(ADM) to see if it appears mountable. If the file
system does not appear mountable, it is checked, using
fsck(ADM), before the mount is attempted.
mountall is called with the -a when the system autoboots.
The -a flag causes output messages to be written to the file
/etc/bootlog, and later mailed to the system administrator
(see boot(HW)).
The umountall command causes all mounted file systems except
root to be unmounted. The -k option sends a SIGKILL signal,
via fuser(ADM), to processes that have files open.
Files
/etc/default/filesys filesystem table
See Also
boot(HW), fsck(ADM), fsstat(ADM), fuser(ADM), mount(ADM),
signal(S), filesys(F)
Diagnostics
No messages are printed if the filesystems are mountable and
clean.
Error and warning messages come from fsck(ADM), fsstat(ADM),
and mount(ADM).
(printed 11/8/90) MOUNTALL(ADM)