NAME
kldload
—
load a file into the kernel
SYNOPSIS
kldload |
[-nv ] file ... |
DESCRIPTION
Thekldload
utility loads
file.ko into the kernel using
the kernel linker. Note that if multiple modules are specified then an attempt
will be made to load them all, even if some fail. List of search directories
is provided by kern.module_path variable.
The following options are available:
-n
- Do not try to load module if already loaded.
-v
- Be more verbose.
FILES
- /boot/kernel
- directory containing loadable modules. Modules must have an extension of .ko.
- /boot/modules.local
- directory for local loadable kernel modules and wrapped external firmware images; see firmware(9)
EXIT STATUS
The kldload
utility exits 0 on
success, and >0 if an error occurs.
AUTOMATICALLY LOADING MODULES
Some modules (ipfw, etc.) may be automatically loaded at boot time by having their operation enabled in rc.conf(5). Modules may also be auto-loaded through their addition to loader.conf(5).
SEE ALSO
kldload(2), loader.conf(5), rc.conf(5), kldstat(8), kldunload(8)
HISTORY
The kldload
utility first appeared in
FreeBSD 3.0, replacing the
lkm(4) interface.
AUTHORS
Doug Rabson <dfr@FreeBSD.org>