From owner-freebsd-arch Fri Nov 2 14:49:21 2001 Delivered-To: freebsd-arch@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 3198237B408 for ; Fri, 2 Nov 2001 14:49:20 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id B4CA314C41; Fri, 2 Nov 2001 23:49:18 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: clefevre@citeweb.net Cc: Brian Dean , freebsd-arch@freebsd.org Subject: Re: rotation of lastlog References: <200111021804.fA2I4N697669@gits.dyndns.org> From: Dag-Erling Smorgrav Date: 02 Nov 2001 23:49:18 +0100 In-Reply-To: <200111021804.fA2I4N697669@gits.dyndns.org> Message-ID: Lines: 14 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Cyrille Lefevre writes: > as Jim says, lastlog prabably is a sparse file. so, it don't take > so much space on disk. rotating it probably fill up those wholes. > so, it will take more space than w/o rotating it except if newsyslog > handle well sparse files, but I have a doubt about this since very > few commands handle such files right. Newsyslog doesn't need to "handle well sparse files", it just renames the file (unless you ask it to gzip it), so the file itself is not modified at all. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message