Skip site navigation (1)Skip section navigation (2)
Date:      02 Nov 2001 23:49:18 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        clefevre@citeweb.net
Cc:        Brian Dean <bsd@bsdhome.com>, freebsd-arch@freebsd.org
Subject:   Re: rotation of lastlog
Message-ID:  <xzpwv18bxg1.fsf@flood.ping.uio.no>
In-Reply-To: <200111021804.fA2I4N697669@gits.dyndns.org>
References:  <200111021804.fA2I4N697669@gits.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Cyrille Lefevre <clefevre@citeweb.net> 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




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