KMODLOAD

Section: Maintenance Commands (8)
Index Return to Main Contents

BSD mandoc
FreeBSD  

NAME

kmodload - loads and starts a kernel module  

SYNOPSIS

kmodload [-v ] [-k kernelfile ] [-d dependencyfile ] [-o symbolfile ] modulefile  

DESCRIPTION

The kmodload loads the file modulefile into the kernel and starts its execution.

The following options are available:

-v
Be more verbose.
-k kernelfile
Use alternate file kernelfile instead of default file /mach for linking modulefile
-d dependencyfile
Add symbols from dependencyfile to kernel symbols prior to linking of modulefile The file dependencyfile must already be loaded.
-o symbolfile
Creates file named symbolfile that contains statically linked output suitable to use with gdb(1) for remote debugging.

 

FILES

/System/Library/Extensions
directory containing loadable kernel modules.
 

DIAGNOSTICS

The kmodload utility exits with a status of 0 on success. A status of 1 indicates a usage error. A status of 2 indicates a indicates a permissions error. A status of 3 indicates a problem with linking the module. A status of 4 indicates a internal or system error. A status of 5 indicates the module has already been loaded.  

SEE ALSO

kmodstat(8), kmodsyms(8), kmodunload(8)  

HISTORY

The kmodload command is based on the command kldload written by An Doug Rabson Aq dfr@FreeBSD.org


 

Index

NAME
SYNOPSIS
DESCRIPTION
FILES
DIAGNOSTICS
SEE ALSO
HISTORY

This document was created by man2html, using the manual pages.
Time: 04:30:04 GMT, April 24, 2025