2014-02-27 17:05:07 +00:00
|
|
|
# umount
|
|
|
|
|
|
|
|
> Revokes access to an entire filesystem mounted to a directory.
|
|
|
|
> A filesystem cannot be unmounted when it is busy.
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Unmount a filesystem:
|
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
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- OR:
|
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
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Unmount all mounted filesystems (dangerous!):
|
2014-02-27 17:05:07 +00:00
|
|
|
|
|
|
|
`umount -a`
|