Page MenuHomeFreeBSD

kldunload.2 Document another case for the error EBUSY
Needs ReviewPublic

Authored by zlei on Mar 26 2024, 9:16 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 19 2025, 4:37 PM
Unknown Object (File)
Oct 28 2025, 4:31 AM
Unknown Object (File)
Oct 21 2025, 2:32 AM
Unknown Object (File)
Oct 21 2025, 2:32 AM
Unknown Object (File)
Oct 20 2025, 4:41 PM
Unknown Object (File)
Sep 24 2025, 8:46 AM
Unknown Object (File)
Sep 24 2025, 2:02 AM
Unknown Object (File)
Sep 24 2025, 1:37 AM
Subscribers

Details

Reviewers
None
Group Reviewers
manpages
Summary

The kld file can not be unloaded if it has dependants.

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

zlei requested review of this revision.Mar 26 2024, 9:16 AM
zlei added inline comments.
lib/libsys/kldunload.2
69

It seems or it has dependants sounds more fluent.

ziaee added inline comments.
lib/libsys/kldunload.2
69

I am unfamiliar with this topic but don't understand this wording. Dependents should have an e in this case though.

You attempted to unload a file either linked by the kernel or having active dependents?

Isn't being linked by the kernel the dependent?

lib/libsys/kldunload.2
69

No. The deoenency is the other way... something else, not the kernel, depends on this module...