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)
Apr 28 2024, 9:08 AM
Unknown Object (File)
Apr 26 2024, 4:29 AM
Unknown Object (File)
Mar 28 2024, 2:06 AM
Unknown Object (File)
Mar 27 2024, 6:01 PM

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.

concussious.bugzilla_runbox.com 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...