2014-02-27 18:05:07 +01:00
|
|
|
# umount
|
|
|
|
|
|
|
|
> Revokes access to an entire filesystem mounted to a directory.
|
|
|
|
> A filesystem cannot be unmounted when it is busy.
|
|
|
|
|
2016-01-07 18:31:27 +01:00
|
|
|
- Unmount a filesystem:
|
2014-02-27 18:05:07 +01:00
|
|
|
|
2014-02-27 22:02:50 +01:00
|
|
|
`umount {{path_to_device_file}}`
|
2014-02-27 18:05:07 +01:00
|
|
|
|
2016-01-07 18:31:27 +01:00
|
|
|
- OR:
|
2014-02-27 18:05:07 +01:00
|
|
|
|
2014-02-27 22:02:50 +01:00
|
|
|
`umount {{path_to_mounted_directory}}`
|
2014-02-27 18:05:07 +01:00
|
|
|
|
2016-01-07 18:31:27 +01:00
|
|
|
- Unmount all mounted filesystems (dangerous!):
|
2014-02-27 18:05:07 +01:00
|
|
|
|
|
|
|
`umount -a`
|