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

Re: Excluding modules from auto-loading

On 11/07/2004 at 22:45 +0200, Richard Guenther wrote:

> I installed kernel-image-powerpc and now on boot a lot of modules get 
> loaded that I don't need.  F.i. ipv6, ext3, nfsd and ieee1394 - can I 
> somehow prevent loading of these modules at startup (apart from deleting 
> them, of course)?

For 2.6, you can do something like:

echo install ipv6 /bin/true >> /etc/modprobe.d/something

But this will prevent loading the module at anytime (not only on boot).
I mean, if you do modprobe ipv6, it will silently ignore the request and
do nothing.


Reply to: