[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How does Debian load the kernel modules



Matus UHLAR - fantomas wrote:
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.
I have removed the unnecessary modules listed in /etc/modules. But lsmod shows that there are 74 modules loaded, and 27 modules whose "used by" columns show 0.
So can I list all of these unused modules in /etc/hotplug/blacklist.d/?
By the way, does /etc/hotplug/blacklist have the same function of /etc/hotplug/blacklist.d/? In my system, there are both.



Reply to: