LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Where do modules go? (https://www.linuxquestions.org/questions/linux-software-2/where-do-modules-go-148022/)

BroX 02-19-2004 10:05 AM

Where do modules go?
 
I mean, if something was compiled as a module, but at recompile I'd decide to compile it in the kernel, what happens to the module? Is it removed from the system, or just not used?

And (bit related), if I would rename a module (for example /etc/rc.d/rc.pcmcia to rc.pcmcia.old) but it's still executable, will it be executed at startup?

Any enlightenment in this area is welcome!

Thanx, Leon.

superbondbond 02-19-2004 10:22 AM

I think you're confusing things that are and are not modules.

Kernel modules will be located in /lib/modules/kernel version/kernel/...... So if you re-compile your kernel and include support for a given piece of hardware in the kernel, then your new kernel name (you should be renaming your kernel) will not have that particular module in /lib/modules/new kernel name/kernel/..... That part you're correct in your assumption.

However, /etc/rc.d/rc.pcmcia is not a module but simply a shell script that may or may not run at start-up. For more about this I suggest reading this.

Hope that helps


All times are GMT -5. The time now is 09:49 PM.