tldr/common/umount.md

17 lines
299 B
Markdown
Raw Normal View History

# umount
> Revokes access to an entire filesystem mounted to a directory.
> A filesystem cannot be unmounted when it is busy.
- Unmount a filesystem
`umount path_to_device_file`
- OR
`umount path_to_mounted_directory`
- Unmount all filesystems described in /etc/mtab (dangerous!)
`umount -a`