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. |
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 |
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!
|
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. |