[NBLUG/talk] How to mount more than 8 loopback filesystems?

Lincoln Peters sampln at sbcglobal.net
Tue Aug 17 18:06:06 PDT 2004


On Mon, 2004-08-16 at 21:19, E Frank Ball wrote:
> On Mon, Aug 16, 2004 at 09:03:03PM -0700, Lincoln Peters wrote:
> } On Mon, 2004-08-16 at 15:42, Dustin Mollo wrote:
> } > On Mon, Aug 16, 2004 at 03:36:35PM -0700, Lincoln Peters wrote:
> } > > Is there a way to mount more than 8 loopback filesystems  I'm trying to
> } > > loopback-mount images of all 13 Debian/testing CD's, but I get an error
> } > > if I try to mount more than 8 of them.
> } > 
> } > if you load the loop kernel module as a module, then you can do something
> } > like this in your modules.conf:
> } > 
> } > # increase maximum number of loop devices to 32
> } > options loop max_loop=32
> } 
> } It still doesn't work.  Do I also need to create additional nodes in
> } /dev (I notice there are device nodes named /dev/loop[0-7])?
> 
> 
> 
> Yes, I used this:
> 
> mknod --mode=660 loop8 b 7 8
> mknod --mode=660 loop9 b 7 9
> mknod --mode=660 loop10 b 7 10
> etc.

Aha!  Now that I've created nodes /dev/loop[0-31], I can mount all 13
images simultaneously while leaving lots of room to grow!

---
Lincoln Peters
<sampln at sbcglobal.net>

Cheese -- milk's leap toward immortality.
		-- Clifton Fadiman, "Any Number Can Play"





More information about the talk mailing list