Re: Disabling COMPAT_FREEBSD4/5/6/7/9 in default kernel configurations

From: Dag-Erling_Smørgrav <des_at_FreeBSD.org>
Date: Sat, 11 May 2024 23:03:11 UTC
Milan Obuch <freebsd-arch@dino.sk> writes:
> In general I think it is good move. In my kernel builds I am trying to
> use minimal set of features (options, devices) and use loadable modules
> whenever possible.

Right, so you're either using MINIMAL or a custom kernel config and the
presence of these options in GENERIC has absolutely zero impact on you.

> I used to remove all COMPAT_FREEBSDn options, now I am keeping 11 and
> up - in my notes rust is being listed, but I think some jdk (or needed
> bootstrap) required some compatibility, too.

So maybe removing COMPAT options wasn't such a good idea after all?

> Idea of COMPAT_FREEBSDn being converted into loadable module mentioned
> in some reply is nice, I don't know much in this area to have anything
> more competent to say.

This is not even remotely feasible.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org