Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jan 1997 23:09:07 +0000
From:      Brian Somers <brian@awfulhak.demon.co.uk>
To:        Michael Smith <msmith@atrad.adelaide.edu.au>
Cc:        karpen@ocean.campus.luth.se (Mikael Karpberg), hackers@FreeBSD.ORG
Subject:   Re: Cyclic filesystem (WAS: Re: truss, trace ??) 
Message-ID:  <199701152309.XAA14982@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Tue, 14 Jan 1997 14:13:14 %2B1030." <199701140343.OAA22707@genesis.atrad.adelaide.edu.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@awfulhak.demon.co.uk>, <brian@freebsd.org>
      <http://www.awfulhak.demon.co.uk/>;
Don't _EVER_ lose your sense of humour....





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