*BSD News Article 13826


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!agate.berkeley.edu!cgd
From: cgd@eden.CS.Berkeley.EDU (Chris G. Demetriou)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Rotating the syslogs
Date: 31 Mar 93 20:36:53
Organization: Kernel Hackers 'r' Us
Lines: 18
Message-ID: <CGD.93Mar31203653@eden.CS.Berkeley.EDU>
References: <1p77tt$rq3@usenet.INS.CWRU.Edu> <1993Mar30.194840.5890@sci34hub.sci.com>
	<1993Mar31.161718.4449@dsuvax.dsu.edu>
NNTP-Posting-Host: eden.cs.berkeley.edu
In-reply-to: ghelmer@dsuvax.dsu.edu's message of Wed, 31 Mar 1993 16:17:18 GMT

In article <1993Mar31.161718.4449@dsuvax.dsu.edu> ghelmer@dsuvax.dsu.edu (Guy Helmer) writes:
>Doesn't that leave an opportunity to lose messages between the two copy
>commands, though? 

yes, but the other method is much worse.

and the time it takes between the first cp (to a new file),
and to cp /dev/null into the old one shouldn't be very large...




chris
--
Chris G. Demetriou                                    cgd@cs.berkeley.edu

   "386bsd as depth first search: whenever you go to fix something you
       find that 3 more things are actually broken." -- Adam Glass