Managing and Developing Dynamically Loadable Kernel Modules

Managing and Developing Dynamically Loadable Kernel Modules
Managing Dynamically Loadable Kernel Modules
Chapter 12506
kmsystem (1M) Provides an interface to set and get a module’s
planned configuration attributes prior to kernel or
module configuration. Values and attributes
displayed and set with kmsystem will be used to
build a new kernel or module.
-b
value
option - sets the planned loading phase
of the specified module.
value
can be 1
(BOOT1), 2 (BOOT2), i (INIT), or a (AUTO),
indicating that once the module is configured
and registered with the kernel, it should be
loaded during phase 1, phase 2, init, or on
demand, respectively.
-c
value
option – assigns a value (y or n) to the
configuration flag of the specified module in
preparation for the next kernel or module
configuration. “y” indicates that the module will
be configured into the kernel.
-l option – assigns a value (y or n) to the
loadable flag of the specified module in
preparation for the next kernel or module
configuration. “y” indicates that the module will
be built as dynamically loadable.
-q option – prints the values of the planned
configuration attributes of the specified module.
Prints a - (signifies “does not apply”) when the
attribute does not apply to the type of module.
no options or -S option only – prints the values
of the planned configuration attributes of all
modules. Prints a “-” when the attribute does
not apply to the type of module.
Table 12-2 Kernel Configuration Tool Set
Tool/
Command
Action