mountall(8) CLIX mountall(8)
NAME
mountall, umountall - Mounts, unmounts multiple file systems
SYNOPSIS
/etc/mountall [file-system-table ... ]
/etc/umountall [-k]
FLAGS
-k Sends a SIGKILL signal, with fuser, to processes that have files
open.
DESCRIPTION
The mountall command is used to mount file systems according to a file-
system-table (/etc/fstab is the default).
Before each file system is mounted, it is checked using fsstat to see if
it appears mountable. If the file system does not appear mountable, it is
checked using fsck before the mount is attempted.
The umountall command causes all mounted file systems except root to be
unmounted. The cache file system (CAFS) root will also be umounted.
EXAMPLES
1. To read the file-system-table from /etc/fstab, key in the mountall
command without flags or arguments as follows:
mountall
FILES
The format for a file-system-table follows:
column 1 Block special filename of file system.
column 2 Mount-point directory.
column 3 -r if to be mounted read-only; -d if remote.
column 4 File system type string.
column 5 File system options.
column 6+ Ignored.
2/94 - Intergraph Corporation 1
mountall(8) CLIX mountall(8)
The white space separates columns. The lines beginning with the pound
sign (#) are comments. The empty lines are ignored.
A typical file-system-table entry might read as follows:
/dev/dsk/c1d0s2 /usr -r S51K
/dev/dsk/s1u0p7.3 /usr2 FFS
NOTES
The mountall and unmountall commands require superuser privileges.
The file system types, Network File System (NFS), Optical Disk File System
(ODFS), and Cache File System (CAFS) residing in the /etc/fstab file will
be ignored. Use nmountall to mount all NFS entries, camountall for CAFS
entries, and jbmountall for /dev/dsk/@ style mounts.
DIAGNOSTICS
No messages are displayed if the file systems are mountable and clean.
device is not a valid file system
The error message means that the device is not a valid file system.
Error and warning messages come from fsck(8), fsstat(8), and mount(8).
RELATED INFORMATION
Commands: fsck(8), fsstat(8), fuser(8), mount(8), camountall(8),
jbmountall(8), sysadm(1)
Functions: signal(2)
Files: fstab(4)
2 Intergraph Corporation - 2/94