[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: loading a module
On Fri, Oct 05, 2001 at 11:43:21AM +0200, Jan Hudec wrote:
> > > I wonder how the kernel will know which module to be loaded.
> >
> > The kernel doesn't know, it just asks modprobe to do the dirty job.
>
> Anyway. How does the kernel know it should load a module? It sure does
> know when device is open (if it has no driver, it composes alias from
> the major number (eq. char-major-36) and asks modprobe to load this). But
> when a syscall is not installed...
There is no such thing as loadable syscalls in linux so your problem
doesn't exist.
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/