User Tools

Site Tools


howtos:loop-devices

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

howtos:loop-devices [d/m/Y H:i] (current)
Line 1: Line 1:
 +If you encounter this error while trying to mount a loop device (cd-image and such):
 +
 +<code>
 +$ sudo mount -o loop -t squashfs /media/disk/casper/filesystem.squashfs /home/tdd/No-rsync-stuff/usb
 +mount: could not find any free loop device
 +</code>
 +
 +you have run out of loop devices.
 +
 +Here's a script to create from loop8 to loop63:
 +
 +<file>
 +for ((i=8;i<64;i++)); do
 +  [ -e /dev/loop$i ] || mknod -m 0600 /dev/loop$i b 7 $i
 +done
 +</file>
 +
  
howtos/loop-devices.txt · Last modified: d/m/Y H:i (external edit)