Installation guide
You can load and unload subsystems on a local system or a remote system.
For information about adding and removing subsystems on remote
systems, see Section 5.3.7
If you are writing a loadable device driver or other loadable subsystem,
refer to the Writing Device Drivers: Tutorial manual and the Programmer’s
Guide. The Writing Device Drivers: Tutorial manual describes the tasks
performed by the system when you install a loadable device driver. This
manual also describes how to write and package loadable device drivers.
The Programmer’s Guide gives general information about creating
subsystems that are dynamically configurable and discusses the framework
that supports dynamic configuration of subsystems and attributes.
5.3.1 Configuring Subsystems
To configure (load) a subsystem, enter the sysconfig command using the
−c flag. Use this command whether you are configuring a newly installed
subsystem or one that was removed using the /sbin/sysconfig -u
command. For example, to configure the DECnet network (decnet)
subsystem, issue the following command:
# /sbin/sysconfig -c decnet
5.3.2 Querying Subsystem State
Subsystems can be known to the kernel, but not available for use. To
determine which subsystems are available for use, use the
/sbin/sysconfig −s command. This command displays the state of all
subsystems. Subsystems can have the following states:
• Loaded and configured (available for use)
• Loaded and unconfigured (not available for use but still loaded)
This state applies only to static subsystems, which can be unconfigured,
but cannot be unloaded.
• Unloaded (not available for use)
This state applies only to loadable subsystems, which are automatically
unloaded when you unconfigure them.
If you use the /etc/sysconfig −s command without specifying a
subsystem name, a list of all the configured subsystems is displayed. For
example:
# /sbin/sysconfig -s
cm: loaded and configured
generic: loaded and configured
proc: loaded and configured
Configuring the Kernel 5–7