SU_PYROW

Out of loop devices? Add them.

By: SU_PYROW

If you happen to run out of them, this should take care of it, I use this in Slax all the time.

#!/bin/bash
## /sbin/loop-device-add.sh

for ((i=8;i<64;i++)); do
[ -e /dev/loop$i ] || mknod -m 0600 /dev/loop$i b 7 $i
done

This document was last modified on: 472519 12:38:48 UTC