From owner-freebsd-current Wed Dec 8 9:18:32 1999 Delivered-To: freebsd-current@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 35C9D151D3 for ; Wed, 8 Dec 1999 09:18:17 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id JAA22677; Wed, 8 Dec 1999 09:18:16 -0800 (PST) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id JAA29021; Wed, 8 Dec 1999 09:18:15 -0800 (PST) (envelope-from jdp@polstra.com) Date: Wed, 8 Dec 1999 09:18:15 -0800 (PST) Message-Id: <199912081718.JAA29021@vashon.polstra.com> To: dmmiller@cvzoom.net Subject: Re: Cleaning house on /usr/src/* In-Reply-To: References: Organization: Polstra & Co., Seattle, WA Cc: current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article , Donn Miller wrote: > In the course of development of -current, a bunch of directories are added > and taken away from /usr/src. So, about every month or so, I like to > clean out /usr/src/* and start from scratch. (Well, you know, sometimes > you have so much of your own old code in there.) > > What is the best way to refresh /usr/src then? Do I do an ftp of the > current src at current.freebsd.org, or is it OK to cvsup from scratch from > cvsup[n].freebsd.org? Someone told me it puts too big of a load on the > cvs servers by checking out the whole tree from scratch like this. I > would say it actually puts a lighter load on the cvsup servers, because > there's no files on your machine to compare the tree with. So, you're > basically trading bandwidth for load. You are right. If you're building a src tree from scratch, it's "cheaper" to CVSup from scratch. The CVSup mirror sites generally have more of a bandwidth surplus than a CPU surplus. Besides, if you FTP a snapshot first, that in itself uses a lot of bandwidth. > So, what's the best way to "clean house"? Of course, I only do this once > a month or so if even that. I normally cvsup every 1 or 2 days, but you > know, every once in a while you've got to clean out the /usr/src because > of all the junk directories. Why are you getting these junk directories? CVSup should be deleting them if they're empty. You really shouldn't need to wipe out your tree and start over -- not ever. Did you omit the "delete" keyword from your supfile? John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "No matter how cynical I get, I just can't keep up." -- Nora Ephron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message