From owner-cvs-etc Thu Jan 2 09:54:27 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA19073 for cvs-etc-outgoing; Thu, 2 Jan 1997 09:54:27 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id JAA18824; Thu, 2 Jan 1997 09:51:29 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id SAA10346; Thu, 2 Jan 1997 18:51:27 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id SAA11931; Thu, 2 Jan 1997 18:51:26 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.4/8.6.9) id SAA07984; Thu, 2 Jan 1997 18:27:17 +0100 (MET) From: J Wunsch Message-Id: <199701021727.SAA07984@uriah.heep.sax.de> Subject: Re: cvs commit: src/etc rc To: phk@freefall.freebsd.org (Poul-Henning Kamp) Date: Thu, 2 Jan 1997 18:27:17 +0100 (MET) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-etc@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199701021628.IAA11588@freefall.freebsd.org> from Poul-Henning Kamp at "Jan 2, 97 08:28:34 am" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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. ;-)