KLDUNLOAD(8)
π kldunload(8) β the un-loadening π
okay so bestie, welcome to kldunload, straight out of the System Manager's Manual β¨ this is the utility that takes a file that was previously loaded into the kernel and goes "nope, we're done here" π«Ά
πΈ NAME πΈ
kldunload β unload a file from the kernel π
like, literally, it unloads a file. from the kernel. that's the whole vibe check.
β¨ SYNOPSIS β¨
kldunload [-fv] -i id ...
kldunload [-fv] [-n] name ...
two whole ways in, bestie β pick your fighter π
π¦ DESCRIPTION π¦
The kldunload utility unloads a file which was previously loaded with kldload(8) π« so if you loaded it, you can unload it. balance. harmony. main character energy.
The following options are available:
-fβ Force the unload π₯ This ignores error returns toMOD_QUIESCEfrom the module, and it implies that the module should be unloaded even if it is currently in use. The users are left to cope as best they can π no cap, this is the "I'm built different" flag β you're on your own after this one.-vβ Be more verbose π£οΈ more words, more info, more everything.-iid β Unload the file with this ID π―-nname β Unload the file with this name π·οΈ- name β Unload the file with this name π (yes, same as
-n, she's flexible like that)
β οΈ a gentle reminder that -f is the dramatic one β it forces through even when the module says "wait, please, I'm still in use" π the users are left to cope as best they can, and that's on them, fr fr.
π EXIT STATUS π
The kldunload utility exits 0 on success, and >0 if an error occurs β
zero means slay. anything else means something went sideways, bestie π₯²
π«Ά SEE ALSO π«Ά
go read your siblings, iykyk π
π HISTORY π
The kldunload utility first appeared in FreeBSD 3.0, replacing the lkm interface π iconic behavior, retiring the old thing and stepping into the spotlight.
π AUTHORS π
Doug Rabson <dfr@FreeBSD.org> β thank you for your service, king π«‘πΈ
<div align="center">π β¨ π¦</div>
and that's the whole page, bestie π this little beauty comes to you from Debian, dated February 27, 2006 β old money, literally. now go unload something responsibly, and remember: force is a choice ππ
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 1997 Doug Rabson
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms