Re: how does kernel know?

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

 



Zeeshan Ali wrote:
> 
> Hello,
> 
> > kernel can load modules as and when needed. For example, if you have
> > compiled the kernel making parport and parport_pc as modules; these modules
> > are not loaded at boot time (until configured to load at boot time by
> > /etc/modules). Whenever any application needs these modules, kernel loads
> > the modules first (using modprobe) and then applications can avail the
> > functionality provided by module.
> 
>    My question is HOW does it do it. If you had read my question
> carefully, then you should have realized that I already know that it
> is happening (rather I am seeing it happening) and now i am asking HOW
> does it do it.
> 
> --

It uses kmod. Man modprobe and depmod. See modules.conf or
moodprobe.conf.

Mark

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