]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cons: Add boot option to mute boot messages after banner
authorJustin Hibbits <jhibbits@FreeBSD.org>
Tue, 30 Apr 2024 20:07:30 +0000 (16:07 -0400)
committerJustin Hibbits <jhibbits@FreeBSD.org>
Tue, 30 Apr 2024 20:23:47 +0000 (16:23 -0400)
commit2cb49090114108d594195b9b32c762391340484c
tree38b98ec3cde5479d0d4641ba7d1944d17d685de2
parent21aba396551e29808fa56a6d4fab17e871c3524f
cons: Add boot option to mute boot messages after banner

This is useful for embedded systems, where it provides feedback that the
kernel has booted, but avoids printing the probe messages.  If both
mutemsgs and verbose are set, verbose cancels the mute.

Additionally, this unmutes the console on panic, so a user can see what
happened leading up to the panic.

Obtained from:  Juniper Networks, Inc.
sys/kern/kern_cons.c
sys/kern/kern_shutdown.c
sys/kern/subr_boot.c
sys/sys/cons.h
sys/sys/reboot.h