DragonFly On-Line Manual Pages
KLDUNLOAD(8) DragonFly System Manager's Manual 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
The kldunload utility exits 0 on success, and >0 if an error occurs.
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>
DragonFly 6.5-DEVELOPMENT May 11, 2026 DragonFly 6.5-DEVELOPMENT