lkml.org 
[lkml]   [1996]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: Messy at bootup
Date
a.kruczkowski@ic.ac.uk (Mr A.M. Kruczkowski) writes:
> Also, on a totally subjective aesthetic point, if the two "version"
> strings were removed from the Linux boot-up banner -- as in Linux version X
> and (gcc version X), I think that line would just about fit neatly
> into 80 chars, making it much more pleasant to read :-)

I also think that the banner should be the first thing printed. That way,
you can tell what kernel is booting without trying to find the particular
line printed. Also when checking syslog messages, you search "/^Linux",
and the bootup messages are from that point on (a trick I've used on
SunOS machines by looking for "/^SunOS").

I think the following patch will do that (as printk messages are buffered
until something registers an interest in dealing with them).

--- main.c~ Wed May 15 23:48:09 1996
+++ main.c Wed May 15 23:49:09 1996
@@ -738,6 +738,8 @@
{
char * command_line;

+ printk(linux_banner);
+
/*
* This little check will move.
*/
@@ -807,7 +809,6 @@
sti();
check_bugs();

- printk(linux_banner);
#ifdef __SMP__
smp_init();
#endif
--
`O O' | Home: Nick.Holloway@alfie.demon.co.uk
// ^ \\ | Work: Nick.Holloway@parallax.co.uk http://www.parallax.co.uk/~alfie/

\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.075 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site