1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 00:35:33 +02:00

losetup: add page (#1415)

This commit is contained in:
kmyounes 2017-06-25 21:41:09 +02:00 committed by Waldir Pimenta
parent 58826bfdab
commit 18b2c95646

19
pages/linux/losetup.md Normal file
View file

@ -0,0 +1,19 @@
# losetup
> Set up and control loop devices.
- List loop devices with detailed info:
`losetup -a`
- Attach a file to a given loop device:
`sudo losetup /dev/{{loop}} /{{path/to/file}}`
- Detach all loop devices:
`sudo losetup -D`
- Detach a given loop device:
`sudo losetup -d /dev/{{loop}}`