[Linux-disciples] Limited number of loop devices
Stephen R Laniel
steve at laniels.org
Sun Feb 13 21:06:56 EST 2005
Is it really the case that the number of loop devices is
limited? I find it kinda lame that one has to do
losetup /dev/loop[1-N] file
I just had to write a script that checks the loop devices
sequentially using a hack:
for loopdev in /dev/loop*
do
losetup $loopdev $REGFILE 2>/dev/null && break
done
This shouldn't be necessary. Am I missing something?
--
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
More information about the Linux-disciples
mailing list