Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

About "conf.module" file & related

Posted on 2001-07-11
4
212 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Red Hat Satellite 6.1 how can I set up a PXE boot ? 2 111
Lame BIND 9.3 10 69
Guacamole and browser performance 1 105
Linux SSH Error 9 138
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

856 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