?
Solved

About "conf.module" file & related

Posted on 2001-07-11
4
Medium Priority
?
245 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 30 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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month14 days, 19 hours left to enroll

840 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