From owner-freebsd-current Tue May 1 13:38:51 2001 Delivered-To: freebsd-current@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id D8DFF37B423 for ; Tue, 1 May 2001 13:38:47 -0700 (PDT) (envelope-from iedowse@maths.tcd.ie) Received: from salmon.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 1 May 2001 21:38:47 +0100 (BST) To: "Thomas D. Dean" Cc: freebsd-current@FreeBSD.ORG Subject: Re: Strangeness with newsyslog/wtmp In-Reply-To: Your message of "Tue, 01 May 2001 09:09:33 PDT." <200105011609.f41G9X555662@celebris.tddhome> Date: Tue, 01 May 2001 21:38:45 +0100 From: Ian Dowse Message-ID: <200105012138.aa83492@salmon.maths.tcd.ie> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200105011609.f41G9X555662@celebris.tddhome>, "Thomas D. Dean" write s: >I notice that my /var/log/wtmp has strange renewal times. I don't >know when it was not like this. newsyslog.conf is set to renew this >once per week. What is causing this? -rw-rw-r-- 1 root wheel 27 Apr 15 12:00 /var/log/wtmp.3.gz -rw-rw-r-- 1 root wheel 244 Apr 13 15:52 /var/log/wtmp.4.gz -rw-rw-r-- 1 root wheel 176 Apr 8 12:12 /var/log/wtmp.5.gz -rw-rw-r-- 1 root wheel 148 Apr 3 10:51 /var/log/wtmp.6.gz -rw-rw-r-- 1 root wheel 280 Mar 30 21:16 /var/log/wtmp.7.gz Gzip by default preserves the last-modified time of a file when gzipping, so these times are actually the times at which the wtmp file was previously modified before being rotated. Try "ls -lc", which will show up the rotation time. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message