From owner-freebsd-questions@FreeBSD.ORG Wed Jan 29 18:44:28 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F02F0F79 for ; Wed, 29 Jan 2014 18:44:28 +0000 (UTC) Received: from smtp9.server.rpi.edu (smtp9.server.rpi.edu [128.113.2.229]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9116818D6 for ; Wed, 29 Jan 2014 18:44:28 +0000 (UTC) Received: from smtp-auth2.server.rpi.edu (route.canit.rpi.edu [128.113.2.232]) by smtp9.server.rpi.edu (8.14.3/8.14.3/Debian-9.4) with ESMTP id s0TIfHpB009644; Wed, 29 Jan 2014 13:41:18 -0500 Message-Id: <201401291841.s0TIfHpB009644@smtp9.server.rpi.edu> Received: from smtp-auth2.server.rpi.edu (localhost [127.0.0.1]) by smtp-auth2.server.rpi.edu (Postfix) with ESMTP id D66E9180D7; Wed, 29 Jan 2014 13:41:17 -0500 (EST) Received: from localhost.localdomain (webmail1.server.rpi.edu [128.113.2.169]) by smtp-auth2.server.rpi.edu (Postfix) with ESMTP id C5F1B180CB; Wed, 29 Jan 2014 13:41:17 -0500 (EST) Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary X-Originating-Ip: 128.113.124.121 X-Http_host: webmail.rpi.edu Date: Wed, 29 Jan 2014 13:41:58 -0500 MIME-Version: 1.0 Subject: Re: /var/run/dmesg.boot Empty After Boot X-Mailer: EMUmail 6.0.1.32 From: drosih@rpi.edu X-Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534. 59.8 (KHTML, like Gecko) Version/5.1.9 Safari/534.59.8 X-Webmail-User: drosih@mail.rpi.edu To: tundra@tundraware.com X-Virus-Scanned: ClamAV using ClamSMTP X-Bayes-Prob: 0.0001 (Score 0, tokens from: outgoing, @@RPTN) X-Spam-Score: 0.00 () [Hold at 15.00] MSGID_FROM_MTA_HEADER:0.001, T_RP_MATCHES_RCVD:-0.01 X-CanIt-Incident-Id: 02LjSFibh X-CanIt-Geo: ip=128.113.2.169; country=US; region=NY; city=Troy; postalcode=12180; latitude=42.7495; longitude=-73.5951; metrocode=532; areacode=518; http://maps.google.com/maps?q=42.7495,-73.5951&z=6 X-CanItPRO-Stream: outgoing X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.113.2.229 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: drosih@rpi.edu List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jan 2014 18:44:29 -0000 On Mon, 27 Jan 2014 10:23:31 EST Tim Daneliuk wrote: > > Is there some special sauce to get /var/run/dmesg.boot to be > populated with the boot time system messages? Mine is empty > and I'm not quite sure why... > > Thanks, It should happen automatically in the default system config. There should be a 'dmesg_enable="YES"' line in your /etc/defaults/rc.conf file, so you should get that behavior unless that variable is set to "NO" in /etc/rc.conf. Which version of FreeBSD are you running? (I doubt it makes a difference, but it would be good to say what it is). One thing that might be happening is that /etc/rc.d/dmesg is run at startup, but then something mounts a new filesystem on top of /var . You could always run /etc/rc.d/dmesg shortly after a system reboot, and see what that does to /var/run/dmesg.boot. -- Garance Alistair Drosehn = drosih@rpi.edu Senior Systems Programmer or gad@FreeBSD.org Rensselaer Polytechnic Institute; Troy, NY; USA