United States-English |
|
|
HP-UX Reference > Mmountall(1M)HP-UX 11i Version 3: February 2007 |
|
NAMEmountall, umountall — mount and unmount multiple file systems SYNOPSIS/sbin/mountall [-F FStype] [-l|-r] [file_system_table | -] /sbin/mountall [-l|-r] [-m] /sbin/mountall [-n] /sbin/umountall [-F FStype] [-k] [-l|-r] DESCRIPTIONmountall is used to mount file systems according to file_system_table. By default, /etc/fstab is the file_system_table. If a dash (-) is specified, mountall reads file_system_table from the standard input; the standard input must be in the same format as the /etc/fstab. Before each file system is mounted, a check is done using fsck (see fsck(1M)) to ensure that the file system is mountable. If the file system is not mountable, it is repaired by fsck before the mount is attempted. umountall causes all mounted file systems except the non-removable file systems such as root to be unmounted. Optionsmountall and umountall recognize the following options:
DIAGNOSTICSError and warning messages may originate from fsck, mount, fuser, or umount. See fsck(1M), mount(1M), or fuser(1M) to interpret the error and warning messages. EXAMPLESMount all unmounted file systems listed in /etc/fstab: mountall Mount all local file systems listed in /etc/fstab: mountall -l Mount all remote file systems listed in /etc/fstab: mountall -r Mount all local hfs file systems: mountall -F hfs -l Unmount all NFS file systems and kill any processes that have files opened in the file system: umountall -F nfs -k |
Printable version | ||
|