commands

umount — Detach a filesystem

Detach an authorized mount, normally after closing users of the mount. Avoid forced or lazy unmount as a default. Use a fresh private workspace; live operations are VM-only.

Formal Syntax & Structure

linux syntaxlinux
umount TARGET

Parameters & Attributes

NameTypeDescription
TARGEToperandMount point

Return Value

exit status and output

For util-linux umount, success indicates the requested detach completed; nonzero may report a busy mount, insufficient access or other errors. Confirm the target is no longer mounted, not merely that the directory still exists.

Working Example

Example Snippetlinux
umount --help
Linux Reference