work around weird issue with loopbacks on overlay
without this change, mounting the loopback results in:
mount: /dev/loop64 is not a valid block device
unsure why; it seems to be an overlay bug? making the device on any
other filesystem seems to work fine.
@@ -47,7 +47,8 @@ function permit_device_control() {
function containers_gone_wild() {
for i in $(seq 64 67); do
- mknod -m 0660 /dev/loop$i b 7 $i
+ mknod -m 0660 /scratch/loop$i b 7 $i
+ ln -s /scratch/loop$i /dev/loop$i
done
}
