Proper way to autoload modules (/etc/rc.modules)?

Axel Thimm Axel.Thimm at ATrpms.net
Tue Apr 5 10:05:19 UTC 2005


On Tue, Apr 05, 2005 at 02:39:53AM -0400, Ignacio Vazquez-Abrams wrote:
> On Mon, 2005-04-04 at 23:33 -0700, Pete Zaitcev wrote:
> > On Mon, 4 Apr 2005 10:27:09 +0200 Axel Thimm <Axel.Thimm at ATrpms.net> wrote:
> > 
> > > > lm_sensors and lirc* modules
> > > 
> > > Both projects take care of this with init.d scripts.
> > > 
> > > But there are others like ivtv. The question is not which modules,
> > > there will always be some that need extra handling and even such where
> > > an autodetection is not possible (since they may not mirror any
> > > hardware piece, but some other functionality).
> > 
> > So, why do init.d scripts not work for ivtv?
> 
> It's not that they won't work, it's that there's none written.

For ivtv one could go init.d (if carefully done), but this is an
overshoot. lirc and lm_sesnors have sensible things to do in
userspace, so having an init.d is OK. Having an init.d only with a
modprobe is the wrong design.

And there are other modules that need to be before any init.d scripts,
like capabilities modules whose absence will break named etc.

I'm after a generic solution. :)
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20050405/8373bdbd/attachment.sig>


More information about the fedora-devel-list mailing list