modules-load is a lightweight, boot-safe utility for orchestrating
kernel module loading via declarative configuration files.
Designed for early-boot environments, it processes configuration
artifacts from standard modules-load.d directories and invokes
modprobe(8) to reconcile system state.
The utility implements a strict directory precedence and shadowing model:
- /etc/modules-load.d/ (Local Administration)
- /run/modules-load.d/ (Runtime/Volatile)
- /lib/modules-load.d/ (Vendor/Package Defaults)
Files in higher-priority directories shadow (mask) files with the same name in lower-priority directories.
- Configuration files must use the
.confextension. - Format: One bare module name per line.
- Comments: Lines starting with
#and empty lines are ignored. - Policy: Module parameters should be defined in
modprobe.d(5).
For architectural background on the transition from imperative scripting to declarative orchestration, see RATIONALE.md.
- POSIX
sh(1p),make(1p)and "mandatory utilities" scdoc(1)to build manual pages
- POSIX
sh(1p)and "mandatory utilities" modprobe(8)provided bykmod
To install this package, run:
# as root
make installConfiguration parameters, including installation paths, are defined in
config.mk.
Manual pages are shipped in /man and installed under the system
manual hierarchy.
See modules-load(8) and modules-load.d(5) for usage and
configuration details.
modules-load is licensed under the
GNU General Public License v2 or later.
See COPYING for license terms and COPYRIGHT for notices.