Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2006 08:33:46 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "Ricardo Branco" <goabranco@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How does dmesg(8) information survive a reboot ?
Message-ID:  <44ac74o3px.fsf@be-well.ilk.org>
In-Reply-To: <BAY108-F348252E0881013F61ACEE4B5600@phx.gbl> (Ricardo Branco's message of "Wed, 19 Jul 2006 08:08:01 %2B0000")
References:  <BAY108-F348252E0881013F61ACEE4B5600@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
"Ricardo Branco" <goabranco@hotmail.com> writes:

> I've just tried this Frenzy Live-CD at http://frenzy.org.ua/eng/ a few
> hours ago. It's based on FreeBSD 6.1-STABLE. Then I rebooted into my
> FreeBSD 6.1-RELEASE box and suddenly dmesg(8) now outputs the content
> from the previous 2 sessions with the live-CD and my current session
> with the one I have installed. This is great. I have seen those
> "Rebooting..." lines but I've always thought they were written to
> /var/log/dmesg* right before the actual reboot with dmesg(8) somehow
> retrieving them at the next boot. What is the black magic here?

It's just a memory buffer.  I very much doubt you would see the
carry-over between boots if you were doing a cold shutdown rather 
than a warm reboot...



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