Re: Automatically Loading Module

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

 



On 10/27/05, Jon Masters <jonmasters@xxxxxxxxx> wrote:
> On 10/24/05, Fawad Lateef <fawadlateef@xxxxxxxxx> wrote:
> > On 10/24/05, Can Sar <csar@xxxxxxxxxxxx> wrote:
> > >
> > > I wrote a Linux Module that I would like to load into my kernel as
> > > soon as possible during boot. Is there any way to do this?
>
> > You can put your module loading command "insmod
> > <path_and_your_module_name> " in scripts found in /etc/rc.d/ directory
> > or more specifically can be in /etc/rc.d/rc.local file.
>
> Or compile it in and it'll run as an initcall before the kernel fires
> off the first init process.
>
Or use an initrd if you need to load it before the regular init scripts.


--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

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