From owner-freebsd-hackers Wed Jan 15 16:35:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id QAA09952 for hackers-outgoing; Wed, 15 Jan 1997 16:35:15 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id QAA09937 for ; Wed, 15 Jan 1997 16:35:12 -0800 (PST) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id QAA29363 for ; Wed, 15 Jan 1997 16:34:59 -0800 (PST) Received: from awfulhak.demon.co.uk (localhost.coverform.lan [127.0.0.1]) by awfulhak.demon.co.uk (8.8.4/8.7.3) with ESMTP id XAA14982; Wed, 15 Jan 1997 23:09:07 GMT Message-Id: <199701152309.XAA14982@awfulhak.demon.co.uk> X-Mailer: exmh version 1.6.9 8/22/96 To: Michael Smith cc: karpen@ocean.campus.luth.se (Mikael Karpberg), hackers@FreeBSD.ORG Subject: Re: Cyclic filesystem (WAS: Re: truss, trace ??) In-reply-to: Your message of "Tue, 14 Jan 1997 14:13:14 +1030." <199701140343.OAA22707@genesis.atrad.adelaide.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 Jan 1997 23:09:07 +0000 From: Brian Somers Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Mikael Karpberg stands accused of saying: > > > > I for one couldn't care less how good the implementation is. I would just > > like a nice efficient way of making any logfile max out at a certain size, > > 'man newsyslog' Now all we need is an O_REOPEN ! The problem with newsyslog is that the writer has to be willing to access() the file, and close() and open() on failure. Either that or you've got to make it -HUP friendly. Either way, the writer has to co-operate. With the cyclic filesystem, the writer can write forever and never run it out of space. -- Brian , Don't _EVER_ lose your sense of humour....