2014-02-27 12:05:07 -05:00
|
|
|
# umount
|
|
|
|
|
2017-06-23 11:17:00 +01:00
|
|
|
> Unlink a filesystem from its mount point, making it no longer accessible.
|
2014-02-27 12:05:07 -05:00
|
|
|
> A filesystem cannot be unmounted when it is busy.
|
2021-10-19 16:11:22 -04:00
|
|
|
> More information: <https://manned.org/umount.8>.
|
2014-02-27 12:05:07 -05:00
|
|
|
|
2017-06-23 11:17:00 +01:00
|
|
|
- Unmount a filesystem, by passing the path to the source it is mounted from:
|
2014-02-27 12:05:07 -05:00
|
|
|
|
2016-07-13 14:23:22 +05:30
|
|
|
`umount {{path/to/device_file}}`
|
2014-02-27 12:05:07 -05:00
|
|
|
|
2017-06-23 11:17:00 +01:00
|
|
|
- Unmount a filesystem, by passing the path to the target where it is mounted:
|
2014-02-27 12:05:07 -05:00
|
|
|
|
2016-07-13 14:23:22 +05:30
|
|
|
`umount {{path/to/mounted_directory}}`
|
2014-02-27 12:05:07 -05:00
|
|
|
|
2017-06-23 11:17:00 +01:00
|
|
|
- Unmount all mounted filesystems (except the `proc` filesystem):
|
2014-02-27 12:05:07 -05:00
|
|
|
|
|
|
|
`umount -a`
|