LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 08-28-2003, 05:24 PM   #1
hoyt
Member
 
Registered: Aug 2003
Location: East Caost, USA
Distribution: Mageia
Posts: 46

Rep: Reputation: 18
useful /etc/modules.conf HOWTO?


Has anyone seen a decent HOWTO regarding /etc/modules.conf? The man page is not clear to a non-programmer like me. I'm looking for an understandable explanation of the formatting.
 
Old 08-28-2003, 05:30 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Well what specifically are you looking for?

In most cases the modules.conf will tell what modules to load at boot time in which most cases its the modprobe command then the module name.

But since its executable though and read like a script in a way, then you can do basic shell scripting in the file, depending on what your trying to achieve though in loading your module, it all really depends on the module.

Not much else to that file really. At least I don't think there is or I've never had any other reason for it to be.
 
Old 08-28-2003, 05:32 PM   #3
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Did you try the Linux Loadable Kernel Module HOWTO
 
Old 08-28-2003, 05:46 PM   #4
hoyt
Member
 
Registered: Aug 2003
Location: East Caost, USA
Distribution: Mageia
Posts: 46

Original Poster
Rep: Reputation: 18
What I'm looking for . . .

I find nothing explanatory about /etc/modules.conf in the kernel modules HOWTO. The man page of modules.conf is written to document how it works (from a programmers' perspective, it appears), but not _how_ to use it. It appears to offer great flexibility, but what I want to know is how that can be accomplished.

In other words, the existing documentation describes the tools; I want to know how to use them.
 
Old 08-29-2003, 10:09 AM   #5
kjcole
Red Hat Ambassador
 
Registered: Aug 2003
Location: Washington, DC
Distribution: Red Hat 9, Debian
Posts: 16

Rep: Reputation: 0
I think the question people might be asking is: Why do you want to mess with it? In other words, what is it you think changing /etc/modules.conf might do for you? Generally speaking, the stock modules.conf works for most stuff, and for special situations, there's usually documentation saying "add these three lines to /etc/modules.conf". You say you're a non-programmer. That suggests to me that you'll generally be running pretty standard programs, or one hopes, well-documented non-standard programs.
 
Old 08-29-2003, 12:38 PM   #6
hoyt
Member
 
Registered: Aug 2003
Location: East Caost, USA
Distribution: Mageia
Posts: 46

Original Poster
Rep: Reputation: 18
I deal with a number of poorly-documented programs all the time (I have yet to see a really well-documented one).

Obviously the tools are there, the capabilities of /etc/modules.conf are more than what is commonly used, but where's the documentation on how to use them? That's all I'm asking; I'm not looking for anything specific at the present time. When the documentation for aome app says "add these three lines to /etc/modules.conf", how did they arrive at that solution? Why are there more capabilites to modules.conf that anyone ever seems to use? What would you use them for?

I've looked for answers to those questions and haven't found any.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Conf.modules Vs Modules.conf Issue, lost eth0 initialization LinuxFreebie41 Linux - General 3 11-04-2004 06:02 AM
Update-modules: No longer managing /lib/modules/modprobe.conf? geekzen Debian 0 04-03-2004 06:49 PM
/etc/conf.modules is more recent than /lib/module/2.2.15-4mdk/modules.dep Derek-kun Linux - Newbie 3 09-26-2003 02:56 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 01:50 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 01:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 06:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration