LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   A quick question reguading modules, and how to activate. (https://www.linuxquestions.org/questions/linux-software-2/a-quick-question-reguading-modules-and-how-to-activate-67372/)

Cecil 06-22-2003 10:35 PM

A quick question reguading modules, and how to activate.
 
Greetings. Currently, I just reinstalled Slackware 9.0 after two years or so of disuse. I remember learning about modules and utilizing them - and I used to recall there was a way to activate the module list without rebooting. I was wondering if anyone would have that command offhand - I know it's not 'make rc.modules' ....

My thanks.

MasterC 06-22-2003 11:05 PM

I'm not quite sure I follow. If you mean to see a list of the current loaded modules:
lsmod (as root)
If you want to see a list of all available modules you can cat through /lib/modules/<kernel.version>:
cat /lib/modules/2.4.20 (ls would work too)

If you mean to see what will be loaded at boot time:
less /etc/modules.conf
less /etc/rc.d/rc.modules

Does any of this sound like what you want? If not, could you clarify it more? :)

Cool

Cecil 06-22-2003 11:21 PM

My apologies
 
I was confused with all the kernal commands I used to remember, to activate changes for recompile. I thought there was a way to load a module while the machine was hot rather than just reboot. For example: say you uncomment /sbin/3c95x for your 3com Etherlink XL card or whatever in /etc/rc.d/rc.modules; I thought there was a command to activate those changes while the machine was hot, saving me a reboot. Rebooting works just fine, however(unless there is a way to load in a module without restarting your machine, like, say for a nic card). Maybe I should RTFM a little or something ;-). Thank you anyway for your tips - there defintly good information that I can put to use!

rmartine 06-23-2003 01:20 AM

insmod loads a module.
rmmod will remove a module.

I hope that's what you're looking for.


All times are GMT -5. The time now is 01:11 PM.