From owner-freebsd-questions Wed Jan 9 9:43:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 3484D37B41C for ; Wed, 9 Jan 2002 09:43:45 -0800 (PST) Received: from hades.hell.gr (patr530-a034.otenet.gr [212.205.215.34]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id g09HhZW27608; Wed, 9 Jan 2002 19:43:36 +0200 (EET) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id g098xWq17037; Wed, 9 Jan 2002 10:59:32 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 9 Jan 2002 10:59:32 +0200 From: Giorgos Keramidas To: Nils Holland Cc: freebsd-questions@FreeBSD.ORG Subject: Re: CVSup question Message-ID: <20020109085931.GC11301@hades.hell.gr> References: <20020106121922.A2419@tisys.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020106121922.A2419@tisys.org> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-01-06 12:19:22, Nils Holland wrote: > Hi folks, > > well, I just ran CVSup via my modem connection, and unluckily, due to line > conditions, my connection was dropped right in the middle of it. I then > interrupted CVSup, re-dialed and started over again. Everything seemed to > work fine, but I wonder if CVSup is actually capable of dealing well with > such interruptions. I mean, is it possible that due to the dropped > connection, some inconsistencies may have been created in my local sources, > or will CVSup just have fixed anything that might have been wrong when I > ran it the second time? Yup, it works nicely even if interrupted in "violent" ways. In my /etc/crontab I have a line that reads: # run CVSup to update the local mirror of FreeBSD sources 7 * * * * ncvs /home/ncvs/update.sh and the script /home/ncvs/update.sh checks to see if it can reach cvsup.gr.freebsd.org (i.e. I am online), before firing CVSup to update a local mirror of the CVS repository. Since my connection is rather slow, I find that at times, this makes things unbearably slow for me. A quick 'su -' and 'killall -9' stops the running cvsup process instantly, and the next hourly update starts without problems a little over an hour later. The way that CVSup checks to see if a file needs to be updated (with revision checks and checksums of the files) makes sure that if a file is 'in the middle of an update', the next CVSup run that will complete uninterrupted will do the Right Thing(TM). - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message