Re: loading modules?
From: John-Paul Stewart (jpstewart_at_sympatico.ca)
Date: 09/07/03
- Next message: Vijay: "NetBSD Question: Hardware Perspective."
- Previous message: Boris Glawe: "Re: light weight windows managers"
- In reply to: Dave Brown: "Re: loading modules?"
- Next in thread: Dave Brown: "Re: loading modules?"
- Reply: Dave Brown: "Re: loading modules?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 07 Sep 2003 14:11:25 -0400
Dave Brown wrote:
>
> In article <bjcduk$l30$1@bagan.srce.hr>, Sandro Mangovski wrote:
> > Add your module to /etc/modules. For example my /etc/modules looks like
> > this:
> >
> > # /etc/modules: kernel modules to load at boot time.
> > #
> > # This file should contain the names of kernel modules that are
> > # to be loaded at boot time, one per line. Comments begin with
> > # a "#", and everything on the line after them are ignored.
> >
> > af_packet
> > ...
>
> What distribution does this? (I don't know of one that has such a file,
> /etc/modules, but it would not be helpful for RedHat, or SuSE. I presume
> that the startup scripts for this setup would go thru the file and
> 'modprobe' them.
That's a Debian file. On startup, one of the init scripts
(/etc/init.d/modutils to be specific) will 'modprobe' every module named
in /etc/modules.
> As I understand it, this is not the kernel's method for loading modules,
> which uses /etc/modules.conf to associate logical devices to modules.
That's still used, too, for the usual purpose. /etc/modules is just a
list of names to 'modprobe' at boot time. Nowhere in /etc/modules.conf
can you specify that modules are to be loaded at boot time. (You can
hope that kmod will load them automatically, but that's not the same
thing.)
- Next message: Vijay: "NetBSD Question: Hardware Perspective."
- Previous message: Boris Glawe: "Re: light weight windows managers"
- In reply to: Dave Brown: "Re: loading modules?"
- Next in thread: Dave Brown: "Re: loading modules?"
- Reply: Dave Brown: "Re: loading modules?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|