umount [options] targetArguments explained
- target can be the mount point or device.
- -l performs lazy unmount in special cases.
- -f forces certain network unmounts.
Common examples
sudo umount /mnt/usbDetaches the filesystem mounted there.
sudo lsof +f -- /mnt/usbHelps diagnose why umount says target is busy.
| Field | Details |
|---|---|
| Command | umount |
| Category | Disk and Storage |
| Primary use | Detaches a mounted filesystem. |
| Syntax | umount [options] target |