mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-28 23:17:58 +01:00
losetup: change order (#3839)
This commit is contained in:
parent
6dbae63b16
commit
a4d4c805dd
1 changed files with 8 additions and 8 deletions
|
@ -10,14 +10,6 @@
|
|||
|
||||
`sudo losetup /dev/{{loop}} /{{path/to/file}}`
|
||||
|
||||
- Detach all loop devices:
|
||||
|
||||
`sudo losetup -D`
|
||||
|
||||
- Detach a given loop device:
|
||||
|
||||
`sudo losetup -d /dev/{{loop}}`
|
||||
|
||||
- Attach a file to a new free loop device and scan the device for partitions:
|
||||
|
||||
`sudo losetup --show --partscan -f /{{path/to/file}}`
|
||||
|
@ -25,3 +17,11 @@
|
|||
- Attach a file to a read-only loop device:
|
||||
|
||||
`sudo losetup --read-only /dev/{{loop}} /{{path/to/file}}`
|
||||
|
||||
- Detach all loop devices:
|
||||
|
||||
`sudo losetup -D`
|
||||
|
||||
- Detach a given loop device:
|
||||
|
||||
`sudo losetup -d /dev/{{loop}}`
|
||||
|
|
Loading…
Reference in a new issue