Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 May 2001 21:38:45 +0100
From:      Ian Dowse <iedowse@maths.tcd.ie>
To:        "Thomas D. Dean" <tomdean@speakeasy.org>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Strangeness with newsyslog/wtmp 
Message-ID:   <200105012138.aa83492@salmon.maths.tcd.ie>
In-Reply-To: Your message of "Tue, 01 May 2001 09:09:33 PDT." <200105011609.f41G9X555662@celebris.tddhome> 

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




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