|
|
/etc/umountall [ -k ]
Before each filesystem is mounted, mountall uses fsstat(ADM) to see if it needs checking with fsck(ADM). The default behavior, if the filesystem is reported as needing checking, is to run fsck on it before the mount is attempted. (This behavior can be modified by editing the filesystem's entry in filesys.)
mountall is called with the -a when the system autoboots. The -a option causes output messages to be written to the file /etc/bootlog, and later mailed to the system administrator (see boot(HW)). If specified, mountall passes the -a option to mnt and fsck.
umountall unmounts all mounted filesystems except the root (/) and boot (/stand) filesystem. The -k option sends a SIGKILL signal, via fuser(ADM), to processes that have files open.
Error and warning messages come from fsck, fsstat(ADM), and mount(ADM).