losetup
Set up and control loop devices. More information: https://manned.org/losetup.
- List loop devices with detailed info:
losetup
- Attach a file to a given loop device:
sudo losetup /
- Attach a file to a new free loop device and scan the device for partitions:
sudo losetup --show /
- Attach a file to a read-only loop device:
sudo losetup /
- Detach all loop devices:
sudo losetup
- Detach a given loop device:
sudo losetup
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
