Linux modules question:

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, May 26, 2006 at 05:56:08AM EST, Dawes, Stephen wrote:
> All,
> 
> Can someone tell me what tells Linux which modules to load at boot time?
> I am asking because I see some modules that are loaded that I don't need
> loading, because I don't use the related application/protocol.
> For example:
> I don't use Bluetooth, so I don't need the Bluetooth module loaded.
> 
> Any help is appreciated.

Most distributions these days either use udev or hotplug. If the kernel 
is 2.6.15 or newer, there is a good chance that it is exclusively udev.

As for preventing modules from loading, it depends on how your system 
has module-init-tools set up. On debian/ubuntu, there is a series of 
blacklist files in /etc/modprobe.d that you wmight want to look at. Just 
add the modules to any of those files, and they won't be loaded when the 
system boots.

If you are using hotplug, I think /etc/hotplug.d/blacklist is the file 
you want.

hth
- -- 
Luke Yelavich
GPG key: 0xD06320CE 
	 (http://www.themuso.com/themuso-gpg-key.txt)
Email & MSN: themuso at themuso.com
ICQ: 18444344
Jabber: themuso at jabber.org.au
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEdi5HjVefwtBjIM4RAuYTAJ9VOwga67vLHXKP+zPW1p8IC4JvSACgu7Zn
Zf4jiTpgyWrPpzmdewqQahE=
=YVT+
-----END PGP SIGNATURE-----




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux