Hi,
I am using the kmod v9 library (apparently) on my Debian machine with kernel 3.4.

I am trying to understand module initialization, and as such went to look at how insmod works. As far as I can tell,
the insmod command is just a symlink to kmod, which parses the command line to determine insmod is being meant, and then proceeds to finally call its do_insmod function. In there however (or in any of the other functions do_insmod calls), nowhere I can find that sys_init_module is being called.

So how does kmod's insmod then finally proceeds to call the module's init function ??

Many thanks for helping me out here!

Paul