Linux Kernel Concepts
Jump to navigation
Jump to search
Internal
Overview
Runtime Configuration
Kernel Interrupt Handler
Kernel Module
The Linux kernel is monolithic by design, but can be compiled with optional or additional modules required by specific use cases. This allows extending kernel's capabilities through the use of dynamically-loaded kernel modules. A kernel module can provide functionality such as a device driver, support for a specific filesystem, etc. Kernel modules can take parameters that customize their behavior.
Commands: kmod, lsmod, rmmod modprobe
Loading Modules at Boot
Kernel modules can be loaded at boot by systemd-modules-load.service by creating a <name>.conf file in /etc/modules-load.d/ directory. The name of the file should be descriptive for the modules that are loaded by it. The content of the file should consist in comments and module names:
# Load modules required by GlusterFS at boot
dm_snapshot
dm_mirror
dm_thin_pool