From owner-freebsd-questions@FreeBSD.ORG Thu Jul 20 12:33:49 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0026916A4DE for ; Thu, 20 Jul 2006 12:33:48 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 793D343D46 for ; Thu, 20 Jul 2006 12:33:48 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 1307 invoked from network); 20 Jul 2006 12:33:48 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 20 Jul 2006 12:33:47 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 106782842B; Thu, 20 Jul 2006 08:33:47 -0400 (EDT) To: "Ricardo Branco" References: From: Lowell Gilbert Date: Thu, 20 Jul 2006 08:33:46 -0400 In-Reply-To: (Ricardo Branco's message of "Wed, 19 Jul 2006 08:08:01 +0000") Message-ID: <44ac74o3px.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: How does dmesg(8) information survive a reboot ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2006 12:33:49 -0000 "Ricardo Branco" 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...