kextunload(8)

NAME
kextunload - terminates classes, unloads modules associated with a kernel extension

SYNOPSIS
kextunload [-c classname] [-m modulename] [-h] [kextbundle]

DESCRIPTION
The kextunload utility terminates classes and unloads the module files contained within kextbundle or with a given name. Modules and classes in the kernel must be written correctly to handle the termination and unload process for this to be successful.

The following options are available:

-h  Provide quick help.

-m  Terminate the classes found in the module name given, and unload the module.

-c  Terminate the classes in the kernel with the given name.

FILES
kextbundle directory containing loadable kernel modules.

DIAGNOSTICS
The kextunload utility exits with a status of 0 on success or with a nonzero status if an error occurs.

SEE ALSO
kextload(8), kmodload(8), kmodstat(8), kmodunload(8)