Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mountall(1m) [hpux man page]

mountall(1M)															      mountall(1M)

NAME
mountall, umountall - mount and unmount multiple file systems SYNOPSIS
FStype] [file_system_table | FStype] DESCRIPTION
is used to mount file systems according to file_system_table. By default, is the file_system_table. If a dash is specified, reads file_system_table from the standard input; the standard input must be in the same format as the Before each file system is mounted, a check is done using (see fsck(1M)) to ensure that the file system is mountable. If the file system is not mountable, it is repaired by before the mount is attempted. causes all mounted file systems except the non-removable file systems such as to be unmounted. Options and recognize the following options: Specify the file system type (FStype) to be mounted or unmounted. Specify action on local file systems only. Specify action on remote file systems only. Send a signal to processes that have files opened. Attempt to mount all the unmounted file systems. This option will not perform the file system consistency check and repair. Perform the file system consistency check and repair on all unmounted file system. This option will not mount the file systems. DIAGNOSTICS
Error and warning messages may originate from or See fsck(1M), mount(1M), or fuser(1M) to interpret the error and warning messages. EXAMPLES
Mount all unmounted file systems listed in Mount all local file systems listed in Mount all remote file systems listed in Mount all local hfs file systems: Unmount all NFS file systems and kill any processes that have files opened in the file system: WARNINGS
especially with the option, should be used with extreme caution, because it can cause severe damage. The option may not be available in future releases. may not be effective with some cases of LOFS file systems. FILES
Static information about the file systems Mounted file system table SEE ALSO
fsck(1M), mount(1M), fuser(1M), mnttab(4), fstab(4), signal(2) mountall(1M)

Check Out this Related Man Page

mountall(1M)						  System Administration Commands					      mountall(1M)

NAME
mountall, umountall - mount, unmount multiple file systems SYNOPSIS
mountall [-F FSType] [-l | -r] [file_system_table] umountall [-k] [-s] [-F FSType] [-l | -r] [-n] umountall [-k] [-s] [-h host] [-n] DESCRIPTION
mountall is used to mount file systems specified in a file system table. The file system table must be in vfstab(4) format. If no file_sys- tem_table is specified, /etc/vfstab is used. If - is specified as file_system_table, mountall reads the file system table from the standard input. mountall mounts only those file systems with the mount at boot field set to yes in the file_system_table. For each file system in the file system table, the following logic is executed: if there exists a file/usr/lib/fs/FSType/fsckall, where FSType is the type of the file system, save that file system in a list to be passed later, and all at once, as arguments to the /usr/lib/fs/FSType/fsckall script. The /usr/lib/fs/FSType/fsckall script checks all of the file systems in its argument list to determine whether they can be safely mounted. If no /usr/lib/fs/FSType/fsckall script exists for the FSType of the file system, the file system is individually checked using fsck(1M). If the file system does not appear mountable, it is fixed using fsck before the mount is attempted. File systems with a - entry in the fsckdev field are mounted without first being checked. umountall causes all mounted file systems except root, /usr, /var, /var/adm, /var/run, /proc, and /dev/fd to be unmounted. If the FSType is specified, mountall and umountall limit their actions to the FSType specified. There is no guarantee that umountall unmounts busy file sys- tems, even if the -k option is specified. OPTIONS
The following options are supported: -F Specify the FSType of the file system to be mounted or unmounted. -h host Unmount all file systems listed in /etc/mnttab that are remote-mounted from host. -k Use the fuser -k mount-point command. See the fuser(1M) for details. The -k option sends the SIGKILL signal to each process using the file. As this option spawns kills for each process, the kill messages might not show up immediately. There is no guarantee that umountall unmounts busy file systems, even if the -k option is specified. -l Limit the action to local file systems. -n List the actions that would be performed for the specified options, but do not actually execute these actions. Repeating the command without the -n option executes the listed actions, assuming that the /etc/mnttab file has not changed in the interval prior to repeating the command. -r Limit the action to remote file system types. -s Do not perform the umount operation in parallel. FILES
/etc/mnttab Mounted file system table /etc/vfstab Table of file system defaults /usr/lib/fs/FSType/fsckall Script called by mountall to perform the file system check of all file systems of type FSType ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
fsck(1M), fuser(1M), mount(1M), mnttab(4), vfstab(4), attributes(5) DIAGNOSTICS
No messages are printed if the file systems are mountable and clean. Error and warning messages come from fsck(1M) and mount(1M). SunOS 5.10 28 Oct 2002 mountall(1M)
Man Page