CmdID

CmdID / Commands

umount

Unmount the listed filesystems. toybox

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Linux

from the toybox, 0BSD
umount [-a [-t TYPE[,TYPE...]]] [-vrfD] [DIR...]
-aUnmount all mounts in /proc/mounts instead of command line list
-DDon't free loopback device(s)
-fForce unmount
-lLazy unmount (detach from filesystem now, close when last user does)
-nDon't use /proc/mounts
-rRemount read only if unmounting fails
-tRestrict "all" to mounts of TYPE (or use "noTYPE" to skip)
-vVerbose

Several platforms

from tldr-pages, CC BY 4.0

Unlink a filesystem from its mount point, making it no longer accessible. A filesystem cannot be unmounted when it is busy.

Unmount a filesystem, by passing the path to the source it is mounted from

umount path/to/device_fileIdentify

Unmount a filesystem, by passing the path to the target where it is mounted

umount path/to/mounted_directoryIdentify

Unmount all mounted filesystems (except the proc filesystem)

umount -aIdentify
-aUnmount all mounts in /proc/mounts instead of command line list toybox

Unlink a filesystem from its mount point, making it no longer accessible. A filesystem cannot be unmounted when it is busy.

Unmount a filesystem, by passing the path to the source it is mounted from

sudo umount path/to/device_fileIdentify

Unmount a filesystem, by passing the path to the target where it is mounted

sudo umount path/to/mounted_directoryIdentify

When an unmount fails, try to remount the filesystem read-only

sudo umount --read-only path/to/mounted_directoryIdentify

Recursively unmount each specified directory

sudo umount --recursive path/to/mounted_directoryIdentify

Unmount all mounted filesystems (except the proc filesystem)

sudo umount --allIdentify

Detach a filesystem from the filesystem hierarchy and unmount it as soon as there are no references to it

sudo umount --lazy path/to/mounted_directoryIdentify