Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2001 11:51:47 -0500
From:      Mike Meyer <mwm@mired.org>
To:        "robinson" <robinsonpar@yahoo.com>
Cc:        questions@freebsd.org
Subject:   /var/run/dmesg.boot (was: Hello)
Message-ID:  <15104.3363.384718.498063@guru.mired.org>
In-Reply-To: <6252147@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
robinson <robinsonpar@yahoo.com> types:
> This is a multi-part message in MIME format.

> ------=_NextPart_000_001F_01C0DC56.95D905A0
> Content-Type: text/plain;
> 	charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable

First, please choose subject lines that are relevant. Second, please
send only plain text to the list, not HTML and not both.

> I want to ask a silly question. My computer runs Freebsd 4.2, when =
> booting system, It displays many booting messages and  writes same =
> messages to the file /var/run/dmesg.boot.=20
> Why one printf statement can do that two works?=20

I'm not sure what the question is. If you're asking how both of those
happen, it's because kernel messages are saved in an internal buffer,
and can be dumped later. See the dmesg man page for information on how
to dump them, and the /etc/rc script for how /var/run/dmesg.boot gets
created.

If you're asking why we do both, the second was presumably added to
guarantee you could always recover the boot dmesg, no matter what else
has happened on the system.

	<mike

> Robinson
> 
> ------=_NextPart_000_001F_01C0DC56.95D905A0
> Content-Type: text/html;
> 	charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=3DContent-Type content=3D"text/html; =
> charset=3Diso-8859-1">
> <META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2>I want to ask a silly question. My =
> computer runs=20
> Freebsd 4.2, when booting system, It displays many booting messages =
> and&nbsp;=20
> writes same messages to the file /var/run/dmesg.boot. </FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>Why one printf statement can do that =
> two=20
> works?&nbsp;</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2>Robinson</FONT></DIV></BODY></HTML>
> 
> ------=_NextPart_000_001F_01C0DC56.95D905A0--
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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