Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2014 13:41:58 -0500
From:      drosih@rpi.edu
To:        tundra@tundraware.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /var/run/dmesg.boot Empty After Boot
Message-ID:  <201401291841.s0TIfHpB009644@smtp9.server.rpi.edu>

next in thread | raw e-mail | index | archive | help
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





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