2014-02-27 17:05:07 +00: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 17:05:07 +00:00
|
|
|
> A filesystem cannot be unmounted when it is busy.
|
|
|
|
|
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 17:05:07 +00:00
|
|
|
|
2016-07-13 09:53:22 +01:00
|
|
|
`umount {{path/to/device_file}}`
|
2014-02-27 17:05:07 +00: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 17:05:07 +00:00
|
|
|
|
2016-07-13 09:53:22 +01:00
|
|
|
`umount {{path/to/mounted_directory}}`
|
2014-02-27 17:05:07 +00:00
|
|
|
|
2017-06-23 11:17:00 +01:00
|
|
|
- Unmount all mounted filesystems (except the `proc` filesystem):
|
2014-02-27 17:05:07 +00:00
|
|
|
|
|
|
|
`umount -a`
|