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.
Files
Filesystem-table format:
column 1 block special file name of filesystem
column 2 mount-point directory
column 3 ``-r'' if to be mounted read-only; ``-d''
if remote
column 4 (optional) filesystem type string
column 5+ ignored
White space separates columns. Lines beginning with "#" are
comments. Empty lines are ignored.
A typical filesystem-table might read:
/dev/dsk/0s1 /usr -r S51K
See Also
boot(HW), fsck(ADM), fsstat(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).
Notes
The information displayed in Column 3 will only appear if
the file system was mounted as a read-only or remote
resource.
(printed 2/15/90) MOUNTALL(ADM)