MODLOAD(8) | System Manager's Manual | MODLOAD(8) |
modload
— load a
kernel module
modload |
[-fP ] [-b
var=boolean] [-i
var=integer] [-s
var=string] module |
modload |
-p [-b
var=boolean] [-d
var] [-i
var=integer] [-m
plist] [-s
var=string] |
The modload
utility loads a kernel module
specified by the module parameter into the running
system.
Modules are loaded from the default system module areas unless the module parameter contains a path separator character (‘/’).
The options to modload
are as follows:
-b
var=booleantrue
or false
.-d
var-m
, delete
var from the plist
specified.-f
This option is also required for re-enabling a builtin module that was disabled using modunload(8).
-i
var=integer-m
plist-p
, merge new
options with an existing property list contained in
plist.-P
-p
-m
and -d
to read and
modify an existing property list.-s
var=stringThe modload
utility exits with a status of
0 on success and with a nonzero status if an error occurs.
modctl(2), modules.conf(5), module(7), modstat(8), modunload(8)
A modload
utility appeared in
NetBSD 0.9. The modload
command was designed to be similar in functionality to the corresponding
command in SunOS 4.1.3. modload
was switched to the
kernel object linker module framework for NetBSD
5.0, derived from the same framework in
FreeBSD.
The original NetBSD implementation was written by Terrence R. Lambert <terry@cs.weber.edu>. The switch to the kernel object linker module framework was by Andrew Doran <ad@NetBSD.org>.
November 13, 2020 | NetBSD 10.99 |