[arch-general] Blacklisting of modules

Thomas Bächler thomas at archlinux.org
Tue Mar 2 05:18:27 EST 2010


Am 02.03.2010 11:14, schrieb mb:
> Hi folks,
> 
> After initscripts' update I noticed that the modules, being blacklisted in 
> rc.conf, were loaded. I tinkered around a bit (extended rc.sysinit with 
> calls to lsmod) and found out, that udev loads most of the modules 
> (rtc-Modules are loaded before, modules for hdd-access come from the 
> init-ramdisk, cpufreq-modules are not loaded) in rc.sysinit lines 78 to 84.
> As far as I'm able to understand the code (I used grep to look for 
> occurences of MODULES) udev has no knowledge of the MODULES array, so all 
> modules are loaded. Therefore blacklisting in rc.conf would be useless.
> Switching the MOD_AUTOLOAD flag changed nothing at all for me, so it seems 
> to be useless as well.

This is not true. You didn't dig deep enough. Blacklisting in rc.conf
works just fine.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20100302/00df65fc/attachment.bin>


More information about the arch-general mailing list