Created attachment 270450 [details] 0001-devd-Use-PF_LOCAL-instead-of-PF_INET.patch While working on the review D56797, I found a flaw, or rather incompatibility, in devd(8) that prevents media checking when there is no INET support in the system. We can easily fix it by using PF_LOCAL. The patch was tested on a system without INET support, and it fixes the issue.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=b2e4da0b53ad082768b8f6f83766e030fd00d02a commit b2e4da0b53ad082768b8f6f83766e030fd00d02a Author: Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> AuthorDate: 2026-05-07 01:28:08 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> CommitDate: 2026-05-07 01:28:08 +0000 devd: Use PF_LOCAL instead of PF_INET Avoid dependency on INET (IPv4) by using PF_LOCAL, allowing media check to work on systems without INET support. PR: 295045 Reviewed by: kevans MFC after: 1 week sbin/devd/devd.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mine