Unix Technical Forum

Slackware 10.1 rc.modules question (shell script)?

This is a discussion on Slackware 10.1 rc.modules question (shell script)? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Eric Hameleers wrote : > My /etc/rc.d/rc.modules contains many more than 200 instances of the > word 'modprobe' .... ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #41 (permalink)  
Old 02-20-2008, 07:25 AM
Thomas Overgaard
 
Posts: n/a
Default Re: Slackware 10.1 rc.modules question (shell script)?


Eric Hameleers wrote :

> My /etc/rc.d/rc.modules contains many more than 200 instances of the
> word 'modprobe' ....


$ grep -c modprobe /etc/rc.d/rc.modules
261
-- Thomas O.

This area is designed to become quite warm during normal operation.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #42 (permalink)  
Old 02-20-2008, 07: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>---|
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:19 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com