显示每个module及描述
# kcmodule -d
Module State Cause
LCentIf static best
state类型:
unused: The module is installed on the system but not in use.
static: The module will be statically bound into the kernel executable.
loaded: The module will be dynamically loaded into the kernel during the boot process.
auto :The module will be dynamically loaded into the kernel when it is first needed after each boot.
cause类型:
explicit: The system administrator explicitly chose the state.
best: The system administrator chose to use the module, but didn’t choose a specific state, so the module is in its “best”
state: as determined by the module developer.
auto: The module was in auto state, and was automatically loaded when something tried to use it.
required: The module was marked required by its developer.
depend: The module is in use because some other module in the configuration depends on it.
加载一个module
# kcmodule cdfs=loaded
卸载一个module
kcmodule cdfs=unused