Re: proposing patches (was: Colored kernel messages on serial console)

[email protected] (Michael van Elst) Wed, 29 Jul 2026 05:50:12 -0000 (UTC)
Newsgroups gmane.os.netbsd.devel.kernel
Organization Serpens User Group
Message-ID <[email protected]>
[email protected] (Thor Lancelot Simon) writes:

>I actually thought the "sysctl for bytes to be prepended; sysctl for bytes to
>be postpended" proposal was rather clever.  I wouldn't object to that going
>in; I'd never set it, but it should default to unset.

Agreed. Also make the default a kernel option so that you could build
a custom kernel that treats early output the same.

We could also integrate it with the timestamp and possibly other
output like a printf-like string.