mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 11:29:59 +03:00
losetup: change order (#3839)
This commit is contained in:
parent
6dbae63b16
commit
a4d4c805dd
@ -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 New Issue
Block a user