|
Compiling kernal vs modprobe -i / -r
As I understand it, a general-purpose non-customized kernal has a collection of (for lack of a better word) modules compiled into it that are what someone has determined to be generic and all-purpose. What is later needed but not in the compilation is run as external (to the kernal) services. Some people re-compile their kernals to include what they use and exclude what they don't. I'm guessing that things that run in the kernal are faster and/or take up less space or fewer resources, and things in the kernal that are not needed are wasted space and resource. I thought about eventually learning how to recompile a kernal, but aside from the experience of doing it, is there that much of a gain?
Second question - how does using modprobe to install or remove modules compare to re-compiling a kernal? Is it permanent? For instance, let's say my kernal has appletalk in it. Do I gain anything by removing it? Can I even remove it (man is a little fuzzy about whether you can even use modprobe to remove modules)?
Last edited by jsmaye; 2005-05-02 at 12:16 AM CDT.
|