[ILUG] a first pass at a virtual cd jukebox...

Tor Bendiksen tor at tblab.net
Tue Sep 20 10:12:37 IST 2005


On Tue, September 20, 2005 0:46, kevin lyda said:
> ok, i have a series of cd images that i'd like to be able to access.
> however mounting them by hand is a pain in the arse.  so i configured
> automount to do it for me.  the steps i took are as follows:

Looks nice. I will have to have a look at this.
I have a home-made script that does that somewhere. I'll see if I can dig
it up. It was used for a FTP mirror server that I ran a while back. Quite
handy.

> the downside i see are that there are only 8 loop devices in the basic
> install of ubuntu so an ls in /jukebox will generate a load of bad links.
> so either autofs needs to cull links quicker or i need to boost the
> number of loop devices (er, how?).  but it works for tabbing out, so i'm
> happy with it.

I'm not sure with Ubuntu (or any recent versions of loop), but last time I
did this you had to spcify it when loading the module. Something like this
was the workaround for me (back with a 2.4 kernel):
rmmod loop && modprobe loop max_loop=250

I suspect you can put this in /etc/modules or somesuch in Ubuntu.

I believe there is a max of 256 loops by default unless you patch the kernel.

What happens when you compile loop into the kernel is a different story,
but I leave that as an excersise for the reader (suspect you can somehow
call this when booting the system as a kernel parameter).

> kevin
>
> --
> Kevin Lyda        -=-=-=-=-=-         Who do you have to blow to get a
> kevin at ie.suberic.net     -=-=-=-      president impeached around here?!

-- 
Tor Bendiksen




More information about the ILUG mailing list