From owner-freebsd-hubs Tue Aug 20 20:32: 0 2002 Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B04E37B400 for ; Tue, 20 Aug 2002 20:31:57 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 249D143E6A for ; Tue, 20 Aug 2002 20:31:57 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.5/8.12.2) with ESMTP id g7L3Vq27035040; Tue, 20 Aug 2002 20:31:52 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.5/8.12.5/Submit) id g7L3Vq2P035039; Tue, 20 Aug 2002 20:31:52 -0700 (PDT) Date: Tue, 20 Aug 2002 20:31:52 -0700 From: "David O'Brien" To: jason andrade Cc: hubs@FreeBSD.ORG Subject: Re: How to copy packages-4.6.2-release tree to packages-4-stable ? Message-ID: <20020821033152.GA35016@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <20020821032116.GA34817@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hubs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Aug 21, 2002 at 01:26:00PM +1000, jason andrade wrote: > > On Wed, Aug 21, 2002 at 11:25:32AM +1000, jason andrade wrote: > > > > 3. rm -rf packages-4-stable > > > > ln -s packages-4.6.2-release packages-4-stable > > > > > > personally yes, for now. except why can't you do: > > > > > > mv packages-4-stable .p4stable.old > > > ln -s packages-4.6.2-release packages-4-stable > > > rm -rf .p4stable.old .... > > I don't follow why that could happen. The packages-4-stable tree already > > exists. > > because the contents of packages-4.6.2-release and packages-4-stable > are totally different in a mirroring sense. > > so what i think will happen if you implement it as you said: > o mirrors will delete 5G of 4.6.2 stable they just took a while to fetch > o then mirrors will redownload it all into packages-4-stable, where you > have just copied it all to. > > so there will be a refetch of 5G to a lot of mirrors. > > if it is done the other way, then there will be a deletion of 5G, but > no refetch required. > > it is entirely possible i misunderstood something though and i have the > flu at the moment, so please excuse any incoherency. I think you're reading my ln'ing in #3 backards. Noone should be deleting the 5G of 4.6.2 stable they just fetched. I propose to remove the packages-4-stable directory tree in its entirty. Then I will create a new "packages-4-stable" that is a symlink pointing to the "packages-4.6.2-release" directory tree. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hubs" in the body of the message