Page MenuHomeFreeBSD

rc: Make devmatch use load_kld
ClosedPublic

Authored by des on Jun 20 2026, 1:18 PM.
Tags
None
Referenced Files
F174441940: D57707.diff
Sat, Oct 3, 6:10 AM
F174423482: D57707.id180156.diff
Sat, Oct 3, 2:28 AM
F174364504: D57707.diff
Fri, Oct 2, 5:15 PM
Unknown Object (File)
Tue, Sep 29, 9:23 AM
Unknown Object (File)
Sun, Sep 27, 2:05 AM
Unknown Object (File)
Thu, Sep 24, 11:21 AM
Unknown Object (File)
Wed, Sep 23, 4:38 AM
Unknown Object (File)
Fri, Sep 18, 10:24 PM
Subscribers

Details

Summary

The default behavior of load_kld is now robust enough for devmatch.
Switching means settings from /etc/sysctl.kld.d are now properly applied
when the corresponding modules are loaded by devmatch.

While here, reduce the amount of output produced by devmatch from one
line per module to a single line.

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des requested review of this revision.Jun 20 2026, 1:18 PM
des edited the summary of this revision. (Show Details)

Might be good to mention, at least here, what the revs were that made load_kld work here.

This revision is now accepted and ready to land.Jun 20 2026, 1:57 PM
In D57707#1322913, @imp wrote:

Might be good to mention, at least here, what the revs were that made load_kld work here.

The parent revision, D57706.

In D57707#1323013, @des wrote:
In D57707#1322913, @imp wrote:

Might be good to mention, at least here, what the revs were that made load_kld work here.

The parent revision, D57706.

Ah! That's why I couldn't remember when! I've looked at it and agree!

This revision was automatically updated to reflect the committed changes.