Yeah, I know about these, but thanks anyway guys. Think about it, though... you could go through and insmod all the necessary modules in the order they are required to get, say, the SB Audigy working... or you could modprobe for it and they will sort themselves out. Now, since modules that depend on other modules will have reciprocal entries in the modules.dep file... surely it can't be that hard to write a program that takes a peek at your lsmod output (or even just takes a look at /proc/modules), find any modules that aren't being used and remove them, following through to their propendents. I know I could rmmod -r, and in fact that is what I do... repeatedly until all modules that are not used are removed, but that also removes modules that I didn't really mind being in there.
I know it's silly, but you would have thought that since the insmod and rmmod programs are opposites of one another, there would be an opposite of modprobe too.
Cheers anyway guys.
|