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
|
|
|
|
2014-02-27 21:02:50 +00: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
|
|
|
|
2014-02-27 21:02:50 +00: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`
|