KLDUNLOAD(8)

NAME
kldunload - unload a file from the kernel

SYNOPSIS
kldunload [-v] -i id
kldunload [-v] [-n] name

DESCRIPTION
The kldunload utility unloads a file which was previously loaded with kldload(8).

The following options are available:

-v  Be more verbose.

-i id
    Unload the file with this ID.

-n name
    Unload the file with this name.

name
    Unload the file with this name.

NOTES
The kernel security level settings may prevent a module from being unloaded by giving EPERM. Refer to security(7) for details.

EXIT STATUS

SEE ALSO
kldunload(2), security(7), kldload(8), kldstat(8)

HISTORY
The kldunload command first appeared in FreeBSD 3.0, replacing the lkm(4) interface.

AUTHORS
Doug Rabson <dfr@FreeBSD.org>