UMOUNT(8) umount - o umount -a [-dflnrv] [-t -] [-O ...] umount [-dflnrv] {|} umount -h|-V umount . . , , . ,," - , , , . umount - ,,libc", ,,libc" , , . , . --lazy. -a, --all /proc/self/mountinfo ( /etc/mtab) , ,,proc", ,,devfs", ,,devpts", ,,sysfs", ,,rpc_pipefs" ,,nfsd" . ,,umount" --types. -A, --all-targets . ( -, .). --recursive, . /etc/mtab /proc/mounts. -c, --no-canonicalize . stat(2) readlink(2). ( NFS- ). . umount . mount(8) . umount /sbin/umount.. -d, --detach-loop , . mount-(8), ,,autoclear" . --fake ,,umount"-; ,," . /etc/mtab -n. -f, --force ( NFS ). . readlink(2) stat(2) NFS- umount-. -i, --internal-only /sbin/umount.- . . -l, --lazy . , . . umount -l umount . . -N, --namespace - umount ns. ns . umount /etc/fstab, /etc/mtab ( /run/mount) umount(2) , . umount(2) . mount_namespaces(7) . -n, --no-mtab /etc/mtab. -O, --test-opts ... /etc/fstab. . no . -q, --quiet ,, " . -R, --recursive . . /proc/self/mountinfo . ; ( -) . 2.37 ( ). -r, --read-only , . -t, --types ... . . no . umount (/proc/mounts) /etc/fstab (., ,,nfs4" vs. ,,nfs"). -v, --verbose . -h, --help . -V, --version Display version and exit. , . , fstab user , . mount(8) . 2.34 umount . fstab user= . 2.35, umount libmount-. ,,suid" . (. , , .). umount mount(8) /etc/mtab. ,,autoclear" ( losetup(8) ), --detach-loop losetup -d . 2.6.25. Note that since Linux v3.7 kernel uses "lazy device destruction". The system just marks the loop device by autoclear flag and destroys it later. If you need to wait for a complete removal of the loop device, call udevadm settle after umount. umount has the following exit status values (the bits can be ORed): 0 1 2 ( , , ) 4 mount 8 16 /etc/mtab- 32 64 some umount succeeded The command umount -a returns 0 (all succeeded), 32 (all failed), or 64 (some failed, some succeeded). 126 failed to execute external /sbin/umount. mount helper (since util-linux v2.41) : umount. {|} [-flnrv] [-N -] [-t .] ( uhelper= helper= ,,mtab" ). -t . : umount.fuse -t fuse.sshfs uhelper= ( ) /etc/mtab /etc/fstab ( udisks(1)). helper= mtab /sbin/umount. -. /etc/mtab helper= libmount-. The exit status value of the helper is returned as the exit status of umount(8). The value 126 is used if the mount helper program is found, but the execl() failed. LIBMOUNT_FSTAB=<> fstab ( suid) LIBMOUNT_DEBUG=all libmount /etc/mtab ( /proc/mounts) /etc/fstab /proc/self/mountinfo . umount 6 AT&T UNIX-. umount(2), losetup(8), mount_namespaces(7), mount(8) For bug reports, use the issue tracker . umount ,,util-linux" . util-linux 2.41 2025-03-29 UMOUNT(8)