mirror of https://github.com/CrimsonTome/tldr.git
umount: make descriptions more explicit (#1408)
* umount: make descriptions more explicit * umount: clarify main description, per PR disc.coverage
parent
0fbce892d8
commit
ec794ec2dc
|
@ -1,16 +1,16 @@
|
||||||
# umount
|
# umount
|
||||||
|
|
||||||
> Revokes access to an entire filesystem mounted to a directory.
|
> Unlink a filesystem from its mount point, making it no longer accessible.
|
||||||
> A filesystem cannot be unmounted when it is busy.
|
> A filesystem cannot be unmounted when it is busy.
|
||||||
|
|
||||||
- Unmount a filesystem:
|
- Unmount a filesystem, by passing the path to the source it is mounted from:
|
||||||
|
|
||||||
`umount {{path/to/device_file}}`
|
`umount {{path/to/device_file}}`
|
||||||
|
|
||||||
- OR:
|
- Unmount a filesystem, by passing the path to the target where it is mounted:
|
||||||
|
|
||||||
`umount {{path/to/mounted_directory}}`
|
`umount {{path/to/mounted_directory}}`
|
||||||
|
|
||||||
- Unmount all mounted filesystems (dangerous!):
|
- Unmount all mounted filesystems (except the `proc` filesystem):
|
||||||
|
|
||||||
`umount -a`
|
`umount -a`
|
||||||
|
|
Loading…
Reference in New Issue