Solved

About "conf.module" file & related

Posted on 2001-07-11
4
186 Views
Last Modified: 2010-03-18
 i don't know what's the function of /etc/conf.module (or
module.conf,what's difference?),and also,i know when linux
startup,the kernel will load those modules built-in it whe
n it was compiled,but where those "[M]" modules exist in &
how they could be loaded,i want to control the loading,cou
ld you tell me the whole process of loading modules (or te
ll me where can i find a good document to read)
  BTW,i will raise my point if a good answer given,thanks
0
Comment
Question by:wingboad
  • 2
  • 2
4 Comments
 

Accepted Solution

by:
dogsbody earned 10 total points
ID: 6275572
conf.modules in more recent versions of linux is called modules.conf.

When kernel modules are compiled they enable the kernel to 'dynamicly' load hardware drivers.support depending on the need of the system.
The compliled modules are usually located in /lib/modules/<kernel version>/.
These modules can be loaded by the kernel when a particular resource is required i.e. at startup when hardware is initiated from /ect/rc, /ect/rc.system or /etc/rc.local or when ismod or modprobe are used.

modules.conf file configures aliases and options for modules you may want to load
i.e. if your ethernet card where compiled as a module you can alias it:

alias eth0 <module name>

so that when you use ifup eth0 for the first time the kernel will load the correct module.

try man modules.conf for more information.

0
 

Author Comment

by:wingboad
ID: 6284550
ok,you mean that when startup or using "modprobe" command,
they will automatically search what you point to in /lib/mo
dules/VERSION/,if it exist,that module will be loaded,right
? and conf.module (module.conf) only works to give a alias
to remmeber or load easily,isn't it?
0
 

Expert Comment

by:dogsbody
ID: 6284595
Yes

also you can use modules.conf to set options for each module

option <module or alias> <option name> <value>

to find out what options are available for each module use

modinfo -p <module name>

0
 

Author Comment

by:wingboad
ID: 6288102
ok,thanks a lot,i will accept your answer,hope to see you next time.  HAVE A NICE DAY
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now