On Mon, 3 Jul 2000, Rajesh Mishra wrote:
> Hi all,
> Can anyone plz. tell how to load a module (.o) when kernel boots up.
> regards.
>
a) if you wish to load a module by the kernel code, use
request_module() API.
b) if you wish to load a module (+ all the modules it depends on) use
"modprobe module", assuming dependencies were correctly built by "depmod
-a" first.
c) if you wish to load a module when the kernel boots, before the root
filesystem is mounted, use initrd mechanism
Regards,
Tigran
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Jul 07 2000 - 21:00:11 EST