From owner-freebsd-arch Fri Nov 2 8:16:45 2001 Delivered-To: freebsd-arch@freebsd.org Received: from mail.disney.com (mail.disney.com [204.128.192.15]) by hub.freebsd.org (Postfix) with ESMTP id EE47F37B401 for ; Fri, 2 Nov 2001 08:16:42 -0800 (PST) Received: from Hermes10.corp.disney.com (root@hermes10.corp.disney.com [153.7.110.102]) by mail.disney.com (Switch-2.2.0/Switch-2.2.0) with ESMTP id fA2GFVQ26807 for ; Fri, 2 Nov 2001 08:15:31 -0800 (PST) Received: from [172.30.50.1] by hermes.corp.disney.com with ESMTP for freebsd-arch@FreeBSD.ORG; Fri, 2 Nov 2001 08:15:51 -0800 Received: from plio.fan.fa.disney.com (plio.fan.fa.disney.com [153.7.118.2]) by pecos.fa.disney.com (8.11.3/8.11.3) with ESMTP id fA2GJJ313926 for ; Fri, 2 Nov 2001 08:19:19 -0800 (PST) Received: from mercury.fan.fa.disney.com (mercury.fan.fa.disney.com [153.7.119.1]) by plio.fan.fa.disney.com (8.9.2/8.9.2) with ESMTP id IAA06663 for ; Fri, 2 Nov 2001 08:16:40 -0800 (PST) (envelope-from Jim.Pirzyk@disney.com) Received: from [172.30.5.138] by mercury.fan.fa.disney.com with ESMTP; Fri, 2 Nov 2001 08:16:40 -0800 Message-Id: <3BE2C780.7BCA0B21@disney.com> Date: Fri, 02 Nov 2001 08:19:12 -0800 From: Jim Pirzyk Organization: Walt Disney Feature Animation X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.4-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Brian Dean Cc: freebsd-arch@FreeBSD.ORG Subject: Re: rotation of lastlog References: <20011102110942.A41614@neutrino.bsdhome.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG As I understood it, lastlog never really grew in size because there is only 1 entry for each user on your system, and when the logged in, that entry was updated. I also though on some systems, this was a sparse file where the index of your entry was based on the uid. How it is in FreeBSD may not be the same, in that I have not looked into it. - JimP Brian Dean wrote: > > Hi, > > Perhaps this is a dumb question, but is there any reason _not_ to have > /var/log/lastlog be rotated via newsyslog like most other log files? > > I thought that maybe it was omitted because it is composed of fixed > format data structures and rotating it at just the wrong time could > split one of these structures, throwing off alignment. But I see that > wtmp is rotated by newsyslog, which has the same issue. > > If the above is not a concern or can't happen, or there are no other > concerns, I'd like to add it. Any objections? > > Thanks, > -Brian > -- > Brian Dean > bsd@FreeBSD.org > bsd@bsdhome.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-arch" in the body of the message -- --- @(#) $Id: dot.signature,v 1.10 2001/05/17 23:38:49 Jim.Pirzyk Exp $ __o Jim.Pirzyk@disney.com ------------- pirzyk@freebsd.org _'\<,_ Senior Systems Engineer, Walt Disney Feature Animation (*)/ (*) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message