:Is there a way of "permanently"loading modules using kernelcfg or some
:other Linux program? (Redhat Linux)
:For example, I want to load lp.o and sound.o every time the system
:starts, but I don't necessarily want to recompile the kernel just to
:add support for these modules. Currently, the only way I have found
:to do this is simply to create a script in init.d/rc3.d that executes
:"/usr/sbin/insmod /usr/src/linux/drivers/sound.o" .
:Is there a better way? If so, how do I do it?
yes, it's called kerneld. the kernel daemon will load and unload
modules automatically for you whenever you need those services.
on my redhat system (heavily upgraded 4.1), /etc/rc.d/rc.sysinit will
start /sbin/kerneld if it exists and can execute.
i have made good use of modules and put all sorts of things in them.
ppp, msdos, fat, minix and iso9660 filesystems, a.out binaries, floppy
controllers, &c. in short, everything that i don't use most of the
time and i could make a kernel module, i did.
i was using a monolith, but with the new 2.0.31 i took the opportunity
to try out the module way. with kerneld, it's seamless and easy. i
never even have to think about insmod.
you're welcome. hope this helps.