> >zhengda wrote: > > > >>lsmod shows me many modules, and some of them aren't used. > >>So how to prevent them being loaded? > >>These modules aren't listed in /etc/modules
> Wackojacko wrote: > >you can list these in /etc/hotplug/blacklist.d/ by creating a new file > >e.g. local. On 29.09.06 10:44, zhengda wrote: > Thank you. I still really wonder how Debian load the kernel modules. > It seems Debian loads the modules automatically. And I didn't find the > process kerneld. So does it mean that Debian load the modules with the > kernel module loader? yes, probably so. most of kernels get loaded when (first) used, but not unloaded. I guess hotplug scripts load modules for every existing piece of hardware for the system to be able to use it. If you'd blacklist them, you won't be able to use them, and some of your startup scripts may fail. You can however check /etc/modules for modules you do not really need and remove them. -- Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. "One World. One Web. One Program." - Microsoft promotional advertisement "Ein Volk, ein Reich, ein Fuhrer!" - Adolf Hitler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]