[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Increasing the number of loop devices



Le 2002.07.31 12:22, Johann Spies a écrit :
I want to mount more than 8 CD's on loop devices but there are only 8
available.  Is there a way to increase it?

I have looked at losetup, but am not sure whether it will do the job.



Max loop device is defined in '/linux_directory/drivers/block/loop.c'

#define MAX_LOOP 8

Change it and recompile your kernel.
Then create device files :

for n in `seq 8 15`; do mknod /dev/loop$n b 7 $n; done

if you define MAX_LOOP to 15.

Romuald.



Reply to: