KMODLOAD(8)

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 Doug Rabson <dfr@FreeBSD.org>