Re: Load kernel module automatically

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, 5 Jun 2002, Michael Zhu wrote:
> Hi, I've read the man page of modules.conf. But I
> still couldn't figure out how to solve my problem. I
> mean how to change the modules.conf file. Can I edit
> this file directly? Can anyone give me an example?
> 
> Thanks.

/etc/modules.conf is quite useful if you work with /dev files w/0 devfs, 
protocol families etc.

Example: you have your sound driver compiled as a module. In /dev you have 
a couple of sound character devs with major number 14. Now you write an 
alias for it into your /etc/modules.conf:

alias	char-major-14	soundcore

Example: you have your ipv6 over ipv4 compiled as a module. Your protocol 
family 41 requires ipv6 to be loaded. Therefore say:

alias	net-pf-41	ipv6

Regards,
Thunder
-- 
ship is leaving right on time	|	Thunder from the hill at ngforever
empty harbour, wave goodbye	|
evacuation of the isle		|	free inhabitant not directly
caveman's paintings drowning	|	belonging anywhere

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux