From owner-freebsd-stable@FreeBSD.ORG Wed Apr 27 18:54:27 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F50216A4CE for ; Wed, 27 Apr 2005 18:54:27 +0000 (GMT) Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AEDE43D39 for ; Wed, 27 Apr 2005 18:54:27 +0000 (GMT) (envelope-from M.Santhoff@t-online.de) Received: from fwd20.aul.t-online.de by mailout01.sul.t-online.com with smtp id 1DQrg2-0007zZ-00; Wed, 27 Apr 2005 20:54:26 +0200 Received: from localhost.das.netz (b7axk+ZSZeVr4x-8loWeC0CngVDKfvpOTtuIajU0GF14yVrdbvcZUU@[217.251.156.145]) by fwd20.sul.t-online.de with esmtp id 1DQrfv-1CDYPo0; Wed, 27 Apr 2005 20:54:19 +0200 Received: from [10.0.0.3] (zaphod.das.netz [10.0.0.3]) by localhost.das.netz (8.13.1/8.13.1) with ESMTP id j3RIrVNi073849 for ; Wed, 27 Apr 2005 20:53:31 +0200 (CEST) (envelope-from M.Santhoff@t-online.de) From: Marc Santhoff To: "FreeBSD stable (Liste)" In-Reply-To: <20050427183147.GC6256@stack.nl> References: <1114623987.302.82.camel@zaphod.das.netz> <1114626276.302.89.camel@zaphod.das.netz> <20050427183147.GC6256@stack.nl> Content-Type: text/plain Message-Id: <1114628037.292.3.camel@zaphod.das.netz> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 27 Apr 2005 20:53:57 +0200 Content-Transfer-Encoding: 7bit X-ID: b7axk+ZSZeVr4x-8loWeC0CngVDKfvpOTtuIajU0GF14yVrdbvcZUU X-TOI-MSGID: 3e77e4ac-b250-467c-9958-b14005516cc7 Subject: Re: [4.11] sysctl reports garbage X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 18:54:27 -0000 Am Mi, den 27.04.2005 schrieb Marc Olzheim um 20:31: > On Wed, Apr 27, 2005 at 08:24:36PM +0200, Marc Santhoff wrote: > > > That is 'kern.msgbuf' ;-) > > > > Hm, I've never seen such a verbose output before. > > > > Has anything changed in that area? And why does it still occur after a > > reboot, normally buffers are only temporarily valid(at least I thought > > so until a few minutes)? > > It's a fresh buffer every reboot. In you mail, it contained the last > part of your startup messages. > Everything that gets written to /dev/console is cycled through the > buffer and the last $(sysctl kern.consmsgbuf_size) KB is made accessible > via "sysctl kern.msgbuf". I still don't understand completly. In the file made like this: sysctl -a > garbage.txt there are the messages of at least three reboot cycles. The only explanation would be "dmesg" using this message buffer for it's output, that's what I used immediately before creating the text file. Marc