man.bsd.lv manual page server

Manual Page Search Parameters

UMOUNT(8) System Manager's Manual UMOUNT(8)

umountunmount filesystems

umount [-fv] special | node

umount -a | -A [-F fstab] [-fv] [-h host] [-t type]

The umount command calls the unmount(2) system call to remove a special device or the remote node (rhost:path) from the filesystem tree at the point node. If either special or node are not provided, the appropriate information is taken from the fstab(5) file.

The options are as follows:

All the filesystems described in fstab(5) are unmounted.
All the currently mounted filesystems except the root are unmounted.
fstab
Specify the fstab file to use.
The filesystem is forcibly unmounted. Active special devices continue to work, but all other files return errors if further accesses are attempted. The root filesystem cannot be forcibly unmounted.
host
Only filesystems mounted from the specified host will be unmounted. This option implies the -A option and, unless otherwise specified with the -t option, will only unmount NFS filesystems.
type
Is used to indicate the actions should only be taken on filesystems of the specified type. More than one type may be specified in a comma separated list. The list of filesystem types can be prefixed with “no” to specify the filesystem types for which action should be taken. For example, the umount command:
umount -a -t nfs,mfs

unmounts all filesystems of the type NFS and MFS that are listed in the fstab(5) file.

Verbose, additional information is printed out as each filesystem is unmounted.

PATH_FSTAB
If the environment variable PATH_FSTAB is set all operations are performed against the specified file.

/etc/fstab
filesystem table

unmount(2), fstab(5), mount(8)

A umount command appeared in Version 1 AT&T UNIX.

September 29, 2016 DragonFly-5.6.1