Re: module insertion

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

 



On Tue, Jan 28, 2003 at 08:22:57AM -0800, S P wrote:

> I need to insert a kernel module into the system when it boots up,
> before any user logs in. How can this be done ? 

Depending on your distro, there's usually a start up script called
something like '/etc/init.d/modules', which looks for a configuration
file in /etc (probably called something with 'modules' as well), and
loads modules based on its contents. 

On debian, /etc/init.d/modutils will read /etc/modules and load the
modules written there. Consult your distros documentation and man
pages for more details. 

(If you meant that you need to load modules before even mounting the
root file system, you want an initrd. Consult the kernel, lilo and
mkinitrd documentation). 
-- 
Muli Ben-Yehuda
http://www.mulix.org
http://syscalltrack.sf.net

--
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