Installation guide
5.3.4 Unloading a Subsystem
To unconfigure (and possibly unload) a subsystem, use the
/sbin/sysconfig -u command, as shown:
# /sbin/sysconfig -u decnet
If you frequently configure and unconfigure device drivers you might notice
that the device special files associated with a particular device driver differ
from time to time. This behavior is normal. When you configure a device
driver using the /sbin/sysconfig command, the system creates device
special files. If you unload that device driver and load another one that
uses the same cdev or bdev major numbers, the system removes the
device special files for the unloaded device driver. Therefore, it must create
new device special files the next time you configure the device.
5.3.5 Maintaining the List of Automatically Configured Subsystems
The system determines which subsystems to configure into the kernel at
system reboot time by checking the list of automatically configured
subsystems. The system configures each subsystem on that list, using the
sysconfig −c command at each system reboot.
You maintain the list of automatically configured subsystems by using the
/sbin/init.d/autosysconfig command.
This command has the following syntax:
/sbin/init.d/autosysconfig list
[add subsystem-name][delete
subsystem-name
]
Use the /sbin/init.d/autosysconfig list command to see a list of
the loadable subsystems that the system automatically configures at each
reboot.
To add a subsystem to the list, use the /sbin/init.d/autosysconfig
add command. For example to add the lat subsystem, issue the following
command:
# /sbin/init.d/autosysconfig add lat
If you unload a subsystem that is on the automatically configured
subsystem list, you should remove that subsystem from the list. Otherwise,
the system will configure the subsystem back into the kernel at the next
system reboot. To remove the subsystem from the automatically configured
subsystems list, issue the /sbin/init.d/autosysconfig delete
command. For example, to delete the lat subsystem, issue the following
command:
# /sbin/init.d/autosysconfig delete lat
Configuring the Kernel 5–9