Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

umountall - unmount file systems

&pagelevel(4)&pagelevel

umountall unmounts all mounted file systems with the exception of root, /proc, /var and /usr. If only file_system_type is specified, umountall relates only to file systems of the specified type. The file systems are unmounted in the order nfs - bs2fs - ufs. This ensures that the bs2fscontainer file system required for bs2fs file systems is only unmounted in the ufs when it is no longer needed, i.e. when no further bs2fs file systems are mounted.


Syntax


umountall[ -F file_system_type][ -k][ -l | -r| -b]


-F

Specifies the file system type to be unmounted.

-k

Sends the SIGKILL signal to processes which have opened files in the file system.

-l

Limits the operation to local file systems (ufs and bs2fs).

-r

Limits the operation to remote file systems (nfs).

-b

Limits the operation to bs2fs file systems.

Error

If the file systems can be unmounted no message is output. Error and warning messages are issued by fsck and mount.

Hint

If the -F option is specified together with one or more of the options -l, -r and -b and the options are mutually compatible, the -l, -r and -b options have priority. For example, mountall -F bs2fs -l and mountall -F ufs -l have the same effect as mountall -l: all local file systems (i.e. all ufs and bs2fs file systems) are unmounted. The entries mountall -F bs2fs and mountall -b also lead to the same result: all bs2fs file systems are unmounted.

File

/etc/mnttab

Table of mounted file systems.

/etc/vfstab

Table of automatically mounted file systems.

See also

fsck, mount, mountall, umount