4 ms·
You can make that even easier: # losetup -Pf /path/to/disk.img # mount /dev/loop0pX /mnt
by Skunkleton 8y ago
You can make that even easier:
# losetup -Pf /path/to/disk.img
# mount /dev/loop0pX /mnt
- maccam94 8y agoAdditionally, this method is not susceptible to race conditions when other loop devices are being configured.