man.bsd.lv manual page server

Manual Page Search Parameters

KLDUNLOAD(8) System Manager's Manual KLDUNLOAD(8)

kldunloadunload a file from the kernel

kldunload [-fv] -i id ...

kldunload [-fv] [-n] name ...

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

The following options are available:

Force the unload. This ignores error returns to MOD_QUIESCE from the module and implies that the module should be unloaded even if it is currently in use. The users are left to cope as best they can.
Be more verbose.
id
Unload the file with this ID.
name
Unload the file with this name.
name
Unload the file with this name.

The kldunload utility exits 0 on success, and >0 if an error occurs.

kldunload(2), kldload(8), kldstat(8)

The kldunload utility first appeared in FreeBSD 3.0, replacing the lkm interface.

Doug Rabson <dfr@FreeBSD.org>

February 27, 2006 FreeBSD-12.0