Re: Increasing the number of loop devices
On Wed, 2002-07-31 at 19:10, Romuald DELAVERGNE wrote:
> 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.
How many nod's are allocated to loopback's in the kernel schematics,
BTW? ie. Whats the upper limit on loopback devices?
Crispin
Reply to: