File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 6
6
7
7
- Unmount a filesystem, by passing the path to the source it is mounted from:
8
8
9
- ` umount {{path/to/device_file}} `
9
+ ` sudo umount {{path/to/device_file}}`
10
10
11
11
- Unmount a filesystem, by passing the path to the target where it is mounted:
12
12
13
- ` umount {{path/to/mounted_directory}} `
13
+ ` sudo umount {{path/to/mounted_directory}}`
14
14
15
15
- When an unmount fails, try to remount the filesystem read-only:
16
16
17
- ` umount {{[-r|--read-only]}} {{path/to/mounted_directory}} `
17
+ ` sudo umount {{[-r|--read-only]}} {{path/to/mounted_directory}}`
18
18
19
19
- Recursively unmount each specified directory:
20
20
21
- ` umount {{[-R|--recursive]}} {{path/to/mounted_directory}} `
21
+ ` sudo umount {{[-R|--recursive]}} {{path/to/mounted_directory}}`
22
22
23
23
- Unmount all mounted filesystems (except the ` proc ` filesystem):
24
24
25
- ` umount {{[-a|--all]}} `
25
+ ` sudo umount {{[-a|--all]}}`
You can’t perform that action at this time.
0 commit comments