View Single Post

   
  #42 (permalink)  
Old 02-20-2008, 08:25 AM
Steve Youngs
 
Posts: n/a
Default Re: Slackware 10.1 rc.modules question (shell script)?

* Eric Hameleers <alien@penguin1.dyndns.org> writes:

> Steve Youngs wrote:
>> I have no way of checking because my /etc/rc.d/rc.modules doesn't
>> contain the word "modprobe" in it anywhere


> Are we talking about the same Slackware then? My /etc/rc.d/rc.modules
> contains many more than 200 instances of the word 'modprobe' ....


I just edited mine and removed everything that wasn't needed.

$ grep -c modprobe /etc/rc.d/rc.modules
0

In case you're thinking that I compile everything directly into the
kernel...

$ zgrep -c \=m /proc/config.gz
208

The Linux kernel has this cool thing called `kmod'. It's main (only?)
purpose is to load modules when they are needed. With a properly
configured /etc/modprobe.conf, the vast majority of modules will
automatically load when needed without the need of explicitly calling
modprobe.


--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| Genius - Is the ability to reduce |
| the complicated to the simple |
|----------------------------------<steve@youngs.au.com>---|
Reply With Quote