UMOUNT(8) UMOUNT(8) umount - 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 . ( UUID ). --recursive, . , /etc/mtab /proc/mounts. -c, --no-canonicalize . stat(2) readlink(2). (, NFS, ). . root umount . , mount(8). , umount /sbin/umount.. -d, --detach-loop , . , mount(8), <<>>. --fake , umount; <<>> . /etc/mtab, -n. -f, --force ( NFS). , , umount . , readlink(2) stat(2) NFS. -i, --internal-only /sbin/mount._, . , , . -l, --lazy . ' , . , . umount -l , , umount . . -N, --namespace _ umount , ns. ns PID , , . umount , I, /etc/mtab ( _/run/mount) mount(2), . , - , umount(2). , . mount_namespaces(7). -n, --no-mtab /etc/mtab. -O, --test-opts ... , /etc/fstab. , . no, , . -q, --quiet << >>. -R, --recursive . , - - . ' /proc/self/mountinfo. ; ( UUID) . 2.37, ( ). -r, --read-only , . -t, --types ... , . , , . no, , . , umount (/proc/mounts), , /etc/fstab (, "nfs4" "nfs"). -v, --verbose . -h, --help . -V, --version . , . , fstab user, - . , mount(8). 2.34, umount , ID . fstab user= . 2.35, umount , libmount. suid root. , root (, , ). umount ' , mount(8), /etc/mtab. "autoclear" ( . losetup(8)), --detach-loop losetup -d . Linux 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 ( ): 0 1 2 ( ', , ) 4 mount 8 16 /etc/mtab 32 64 umount -a 0 ( ), 32 ( ) 64 ( , ). 126 failed to execute external /sbin/umount. mount helper (since util-linux v2.41) umount : umount. {|} [-flnrv] [-N -] [-t .] - ( uhelper= helper= mtab). -t , . : umount.fuse -t fuse.sshfs uhelper= ( ) ' /etc/mtab, , /etc/fstab (, , udisks(1)). helper= mtab /sbin/umount. UID. , /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 ' AT&T UNIX 6. umount(2), losetup(8), mount_namespaces(7), mount(8) umount util-linux, Linux . util-linux 2.41 2025-03-29 UMOUNT(8)