Re: increasing the number of loop devices

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

 



On Wed, Jun 05, 2002 at 10:40:48PM -0400, Ben Slusky wrote:
> On Wed, 05 Jun 2002 15:03:57 +0100, Dale Amon wrote:
> > On Wed, Jun 05, 2002 at 11:12:20AM +0100, Newsmail wrote:
> > > I read in dmesg that the maximum amount of loop devices is 8 actually. is 
> > > there a way to have more than 8 loop devices? can I add them to /dev or do 
> > > I have to modify something else?
> > > greg
> > 
> > I believe there is a compile time constant in loop.c that controls 
> > this.
> 
> Actually it's a kernel parameter: max_loop. I boot with max_loop=16.

Nice to know, I've usually changed it here in loop.c:

static int max_loop = 8;
static struct loop_device *loop_dev;
static int *loop_sizes;
static int *loop_blksizes;
static devfs_handle_t devfs_handle;      /*  For the directory */
-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux