From owner-freebsd-arch@FreeBSD.ORG Fri May 6 18:27:53 2005 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 186AA16A4D4; Fri, 6 May 2005 18:27:53 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BE7543D39; Fri, 6 May 2005 18:27:52 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1]) by harmony.village.org (8.13.3/8.13.1) with ESMTP id j46IQfht009166; Fri, 6 May 2005 12:26:41 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 06 May 2005 12:26:41 -0600 (MDT) Message-Id: <20050506.122641.78716734.imp@bsdimp.com> To: dnelson@allantgroup.com From: Warner Losh In-Reply-To: <20050506181404.GG49336@dan.emsphone.com> References: <20050506125729.DF5D94BEAD@ws1-1.us4.outblaze.com> <20050506181404.GG49336@dan.emsphone.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: arch@freebsd.org cc: questions@freebsd.org cc: fteg@london.com Subject: Re: A beautiful dmesg! Maybe one day? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2005 18:27:53 -0000 From: Dan Nelson Subject: Re: A beautiful dmesg! Maybe one day? Date: Fri, 6 May 2005 13:14:04 -0500 > In the last episode (May 06), Fafa Hafiz Krantz said: > > For you all meticulous cats out there, here's how I hope that > > FreeBSD's dmesg one day can look like. This is merely a > > beautification that would make more people go "wow, cool" and it > > doesn't deprive FreeBSD of its UNIX heritage. > > > > Perhaps someone out there can help me implement these changes? I have > > a lot more suggestions for ASCII redesigns, so let me know! > > > > ata0: Attached to port 0x3f6,0x1f0-0x1f7 irq 14 on isa0 > > ata1: Attached to port 0x376,0x170-0x177 irq 15 on isa0 > > atkbdc0: Keyboard controller (i8042), at port 0x64,0x60 on isa0 > > It's easy enough to change the format string in > subr_bus.c:device_print_prettyname() to pad out the devicename. > However, you may prefer to just put up a splash screen (see the splash > manpage), so the user doesn't even see the kernel messages at all. Many of his suggestions are subtle changes to the probe messages in addition to the format string. Warner