NetBSD Problem Report #59923

From tsutsui@ceres.dti.ne.jp  Fri Jan 16 19:48:10 2026
Return-Path: <tsutsui@ceres.dti.ne.jp>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.netbsd.org", Issuer "R13" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 1F08B1A923E
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 16 Jan 2026 19:48:10 +0000 (UTC)
Message-Id: <202601161948.60GJm3Uu028938@ceres.dti.ne.jp>
Date: Sat, 17 Jan 2026 04:48:03 +0900 (JST)
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Reply-To: tsutsui@ceres.dti.ne.jp
To: gnats-bugs@NetBSD.org
Cc: tsutsui@ceres.dti.ne.jp
Subject: libsa/bootcfg: adjust default NetBSD flag ASCII Art
X-Send-Pr-Version: 3.95
X-From4GNATS: "Izumi Tsutsui via gnats" <gnats-admin@NetBSD.org>

>Number:         59923
>Category:       misc
>Synopsis:       libsa/bootcfg: adjust default NetBSD flag ASCII Art
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 16 19:50:01 +0000 2026
>Last-Modified:  Fri Jan 16 20:05:00 +0000 2026
>Originator:     Izumi Tsutsui
>Release:        NetBSD -current
>Organization:
>Environment:
System: NetBSD 11.99.4
Architecture: All
Machine: All
>Description:
I would like to propose a small adjustment to the NetBSD flag banner
ASCII art printed by libsa when no "banner=" lines are provided in
boot.cfg (currently used by only NetBSD/x86 and NetBSD/wii?).

```
\--..,__,.,--''_-,
\\          -'- .
 \\ _    _,--' ' `
  \\ ``''
   \\
    \\
     \\
```

If maintainers/users prefer to keep the current banner unchanged,
please feel free to close the PR.

>How-To-Repeat:
See bootloader banner

>Fix:

Index: bootcfg.c
===================================================================
RCS file: /cvsroot/src/sys/lib/libsa/bootcfg.c,v
retrieving revision 1.10
diff -u -p -d -r1.10 bootcfg.c
--- bootcfg.c	6 May 2025 18:16:12 -0000	1.10
+++ bootcfg.c	16 Jan 2026 19:30:06 -0000
@@ -291,11 +291,11 @@ print_bootcfg_banner(const char *bootpro
 	/* If the user has not specified a banner, print a default one. */

 	printf("\n");
-	printf("  \\\\-__,------,___.\n");
-	printf("   \\\\        __,---`  %s\n", bootprog_name);
-	printf("    \\\\       `---,_.  Revision %s\n", bootprog_rev);
-	printf("     \\\\-,_____,.---`\n");
-	printf("      \\\\\n");
-	printf("       \\\\\n");
-	printf("        \\\\\n\n");
+	printf("\\--..,__,.,--''_-,\n");
+	printf("\\\\          -'- .   %s\n", bootprog_name);
+	printf(" \\\\ _    _,--' ' `  Revision %s\n", bootprog_rev);
+	printf("  \\\\ ``''\n");
+	printf("   \\\\\n");
+	printf("    \\\\\n");
+	printf("     \\\\\n\n");
 }

>Audit-Trail:
From: nia <nia@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: misc/59923: libsa/bootcfg: adjust default NetBSD flag ASCII Art
Date: Fri, 16 Jan 2026 20:03:04 +0000

 I added the original flag. It is also used on all UEFI architectures,
 I think there are two places in the code for this.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.