How can I have more loopback devices?

Laura Conrad sunny at laymusic.org
Mon Mar 26 18:19:50 EDT 2007


>>>>> "Sarah" == Sarah McGlinchey <sarahwithanx at gmail.com> writes:

    Sarah> Take a look at:
    Sarah> modinfo loop

    Sarah> You should see something like this:
    Sarah> parm:           max_loop:Maximum number of loop devices (1-256) (int)

    Sarah> You can set something higher in modules.conf or add it to the kernel
    Sarah> command line if your loopback support is built into the kernel.  You
    Sarah> will either have to reboot or reload the module.

Thanks, that was helpful.  My actual answer (not yet tested with a
reboot) was to "rmmod loop", edit /etc/modprobe.d/options to contain a
line that says:

options loop max_loop=16

and then do "modprobe loop".  Now my script mounts all 11 .iso files.

-- 
Laura (mailto:lconrad at laymusic.org , http://www.laymusic.org/ )
(617) 661-8097	fax: (501) 641-5011
233 Broadway, Cambridge, MA 02139

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Discuss mailing list