|
lsmod看到了很多模块,有些甚至都不清楚用途。现想要在启动时去掉一些不用的模块,同时加入一些别的模块,应该怎么作?
知道系统启动时是根据什么去load模块的?
cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a "#", and everything on the line after them are ignored.
ide-cd
ide-disk
ide-generic
psmouse
看意思是这个文件包含启动时要load的模块。但是lsmod却发现当前并没有加载这些模块,奇怪...
/etc/modules.conf是作什么用的?
thx! |
|