autoload of kernel modules: how?

Paul Howarth paul at city-fan.org
Mon Jul 18 11:16:34 UTC 2005


Timothy Murphy wrote:
> Paul Howarth wrote:
> 
> 
>>In FC4 you can create a script with a name ending in ".modules"
>>in /etc/sysconfig/modules and that will get run at around the same time
>>that rc.modules would be run. This is the "approved" may of doing this
>>now.
> 
> 
> Is this preferable to writing a modprobe command in rc.local ?
> Is rc.local frowned on now?

Depends when you want the module loaded. rc.local is executed right at 
the end of the boot process, but rc.modules or 
/etc/sysconfig/modules/*.modules is much earlier. If you need your 
module loading for some services to start, rc.local will be too late.

Paul.




More information about the fedora-list mailing list