Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
When to use modules.autoload.d ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
cheuschober
n00b
n00b


Joined: 02 Nov 2006
Posts: 55
Location: New York, NY

PostPosted: Tue Aug 28, 2007 9:12 pm    Post subject: When to use modules.autoload.d ? Reply with quote

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
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Tue Aug 28, 2007 9:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
twork
Apprentice
Apprentice


Joined: 28 Jul 2006
Posts: 198

PostPosted: Tue Aug 28, 2007 11:46 pm    Post subject: Re: When to use modules.autoload.d ? Reply with quote

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
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Aug 29, 2007 4:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum