For When You Can't Have The Real Thing
[ start | index | login ]
start > RedHat > Prevent Module Loading

Prevent Module Loading

Created by dave. Last edited by dave, 12 years and 70 days ago. Viewed 2,452 times. #1
[edit] [rdf]
labels
attachments
In some circumstances you may wish to prevent a module from loading.

The kernel queries /etc/modprobe.conf in Red Hat Enterprise Linux 4 and /etc/modules.conf in Red Hat Enterprise Linux 3 for a list of kernel modules to load for both hardware and software.

If the name of the module is known, replace "modulename" in the line below with the name of the module you do not wish to load

In the /etc/modprobe.conf or /etc/modules.conf file, add the line

alias modulename off

At the next reboot the module should not be loaded.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt