PDA

View Full Version : How to remove kernel module


alie
December 24th, 2008, 19:57
Hi,

is there any way to remove kernel module like if_wpi.ko

i need to remove this module since its not needed for my system.

thanks,
Alie
www.alietan.com

ale
December 24th, 2008, 20:09
man kldunload

alie
December 24th, 2008, 20:12
i mean remove it psychically from system

mk
December 24th, 2008, 20:40
just delete it.
+ when building kernel you can put NO_MODULES=yes in /etc/make.conf

adamk
December 25th, 2008, 02:14
There are probably a number of kernel modules that you do not need... But that's no reason to remove them. They are generally quite small, and harmless to have on your system if they are not loaded.

Adam

Speedy
December 25th, 2008, 02:35
There are probably a number of kernel modules that you do not need... But that's no reason to remove them.
Is for me. One of many reasons I switched to FOSS was to get rid of bloatware. "MODULES_OVERRIDE=" variable is there for you to build only the modules you need.