insmod: where it search for module
where does the kernel search for the module to add?
for example when I type "insmod module1", the kernel just search every directory in /lib/module for a file named module1.o? |
I believe it looks under: /lib/module/<your kernel>
-twantrd |
No, insmod searches the directory from which you ran it. However, modprobe searches every subdirectory of /lib/modules/`uname -r`/kernel.
|
from insmod man page:
Quote:
Oliv' |
All times are GMT -5. The time now is 08:55 AM. |