Basic question..

Raghava Raju (vraghava_raju@yahoo.com)
Wed, 1 Aug 2001 13:44:01 -0700 (PDT)


Hi

I am new to kernel programming. I have
just written a module consisting of init and
cleanup
functions. I call init function of the module in
kernel initialization function. So when system
comes up, it shows that it entered module init
function(printk in "init" print some string), but
when I do lsmod it is not there in list of
modules. But if I do insmod module, the module is
listed in lsmod output. So is it that calling init
module and insmod are not equivalent?

Thank You
Raghava.

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/