Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-19-2004, 10:05 AM   #1
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-current
Posts: 780

Rep: Reputation: 66
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.
Old 02-19-2004, 10:22 AM   #2
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Update-modules: No longer managing /lib/modules/modprobe.conf? geekzen Debian 0 04-03-2004 06:49 PM
/etc/conf.modules is more recent than /lib/module/2.2.15-4mdk/modules.dep Derek-kun Linux - Newbie 3 09-26-2003 02:56 AM
Slack9 - no PPP (can't open dependencies file /lib/modules/2.4.18/modules.dep) bluehz Slackware 1 05-04-2003 02:32 PM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 01:50 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 01:40 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration