Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 May 2005 13:14:04 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Fafa Hafiz Krantz <fteg@london.com>
Cc:        questions@freebsd.org
Subject:   Re: A beautiful dmesg! Maybe one day?
Message-ID:  <20050506181404.GG49336@dan.emsphone.com>
In-Reply-To: <20050506125729.DF5D94BEAD@ws1-1.us4.outblaze.com>
References:  <20050506125729.DF5D94BEAD@ws1-1.us4.outblaze.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050506181404.GG49336>