1
0
Fork 0
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:
z7y8hsBP 2020-02-05 19:22:17 +01:00 committed by GitHub
parent 6dbae63b16
commit a4d4c805dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}}`