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)
Sun, Apr 19, 4:50 PM
Unknown Object (File)
Fri, Apr 10, 6:54 PM
Unknown Object (File)
Mon, Apr 6, 1:35 PM
Unknown Object (File)
Mon, Apr 6, 6:36 AM
Unknown Object (File)
Fri, Apr 3, 3:02 AM
Unknown Object (File)
Mar 11 2026, 3:30 PM
Unknown Object (File)
Mar 11 2026, 4:47 AM
Unknown Object (File)
Jan 27 2026, 3:53 PM
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...