umount

Name

umount -- unmount file systems

Synopsis

umount [-hV]
umount -a [-nrv] [-t vfstype]
umount [-nrv] device | dir [...]

Description

The umount command detaches the file system(s) mentioned from the file hierarchy. A file system is specified by giving the directory where it has been mounted.

Standard Options

-V

Print version and exit.

-v

Verbose mode.

-n

Unmount without writing in /etc/mtab.

-r

In case unmounting fails, try to remount read-only.

-a

All of the file systems described in /etc/mtab are unmounted except for the proc filesystem.

-t vfstype

Indicate that the actions should only be taken on file systems of the specified type. More than one type may be specified in a comma separated list. The list of file system types can be prefixed with no to specify the file system types on which no action should be taken.

-f

Force unmount (in case of an unreachable NFS system).