git: f52481f3b8a3 - main - vt(4): add note about sc/UEFI incompatibility

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Fri, 24 May 2024 23:55:35 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=f52481f3b8a377e336ecba1b5150023a344ec189

commit f52481f3b8a377e336ecba1b5150023a344ec189
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2024-05-24 21:45:14 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-05-24 23:55:10 +0000

    vt(4): add note about sc/UEFI incompatibility
    
    syscons is not compatible with UEFI boot.  This is noted in syscons(4),
    but not mentioned in vt(4) where the kern.vty tunable (used to select vt
    or sc) is documented.  Add a note so that if someone reads vt(4) but not
    sc(4) they are not surprised by having no usable console.
    
    PR:             276206
    Reviewed by:    brooks
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D45357
---
 share/man/man4/vt.4 | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/share/man/man4/vt.4 b/share/man/man4/vt.4
index ed4da98df673..45e6c0ceb979 100644
--- a/share/man/man4/vt.4
+++ b/share/man/man4/vt.4
@@ -22,7 +22,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd May 8, 2023
+.Dd May 24, 2024
 .Dt "VT" 4
 .Os
 .Sh NAME
@@ -220,6 +220,11 @@ The
 kernel uses
 .Nm
 when this value is not set.
+Note that
+.Ql sc
+is not compatible with
+.Xr UEFI 8
+boot.
 .It Va kern.vt.color. Ns Ar colornum Ns Va .rgb
 Set this value to override default palette entry for color
 .Pa colornum