Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 1997 18:27:17 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        phk@freefall.freebsd.org (Poul-Henning Kamp)
Cc:        CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-etc@freefall.freebsd.org
Subject:   Re: cvs commit:  src/etc rc
Message-ID:  <199701021727.SAA07984@uriah.heep.sax.de>
In-Reply-To: <199701021628.IAA11588@freefall.freebsd.org> from Poul-Henning Kamp at "Jan 2, 97 08:28:34 am"

next in thread | previous in thread | raw e-mail | index | archive | help
As Poul-Henning Kamp wrote:

>   Now that uptimes run into months on a regular basis, I often find myself
>   wondering what the hw-config of a machine is, and the logs have been
>   rotated many times since reboot already.
>   
>   Added:
>   	/sbin/dmesg > /var/tmp/dmesg.boot
>   to /etc/rc

/var/tmp ain't good.  For sites that auto-clean temp directories,
files there will be removed even before the log files vanish.  I'd
suggest /var/run, most files there have a projected lifetime of one
boot cycle.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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