View previous topic :: View next topic |
Author |
Message |
cheuschober n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Nov 2006 Posts: 55 Location: New York, NY
|
Posted: Tue Aug 28, 2007 9:12 pm Post subject: When to use modules.autoload.d ? |
|
|
Hi.
Is there a consistent / quick way to tell which modules the kernel will load on its own and which modules init scripts will handle versus those kernel modules that need to be placed in autoload.d?
This question has /always/ confused me with gentoo because the module autoloading may be turned on in the kernel but it doesn't actually load everything and I have no way to tell what's really being loaded and what's not. If anyone could offer some insight I'd greatly appreciate it.
Regards,
~chad |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
didymos Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1790706086435438446060f.jpg)
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Tue Aug 28, 2007 9:45 pm Post subject: |
|
|
If a module depends on other modules, then those other modules will be autoloaded. If it's not required by the system to boot or by another module, but you want it to load at boot, then you use modules.autoload.d or a service (like the alsasound or iptables services). _________________ Thomas S. Howard |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
twork Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/3126530634a616692a745d.jpg)
Joined: 28 Jul 2006 Posts: 198
|
Posted: Tue Aug 28, 2007 11:46 pm Post subject: Re: When to use modules.autoload.d ? |
|
|
cheuschober wrote: |
Is there a consistent / quick way to tell which modules the kernel will load on its own and which modules init scripts will handle versus those kernel modules that need to be placed in autoload.d?
|
I don't think so in any general, one-size-fits-all sense, because the question of whether a particular module should load or not is so module- and situation-specific. Do you have some cases in mind? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nixnut Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/29856733845fd04c0f3d8c.gif)
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Wed Aug 29, 2007 4:39 pm Post subject: |
|
|
Moved from Installing Gentoo to Kernel & Hardware.
kernel related, so moved here. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|