Re: There is no config file '/etc/conf.modules'...

kwrohrer@enteract.com
Fri, 26 Dec 1997 03:54:46 -0600 (CST)


And lo, A Guy Called Tyketto saith unto me:
> Thus spake kwrohrer@enteract.com (kwrohrer@enteract.com):
> > And lo, Lee Seung-Yong saith unto me:
> > > But there is no config file '/etc/conf.modules'.
> > Unless you need to configure or alias modules, there's no need for one.
>
> Umm... from the Kerneld mini-Howto:
Sorry, all; forgot my knee-jerk urge to email an RTFM reply. I stand
chastened.

> kerneld determines what module should be loaded by scanning the
> configuration file /etc/conf.modules There are two kinds of entries in this
> file: Paths (where the module-files are located), and aliases (what module
> should be loaded). If you don't have this file already, you could create it
> by running
>
> /sbin/modprobe -c | grep -v '^path' >/etc/conf.modules
My word, what a teeming horde of crap that generates, all of which was
either from defaults or already specified in /etc/modules.conf. I
prefer:

/sbin/modprobe -c | grep -v '^path' | awk '{print "# " $0}'>>/etc/modules.conf

as a less destructive form, which also follows the ancient tradition of
commenting out configuration lines which merely echo defaults. Use the
other name for the file in /etc if you prefer.

Keith