From owner-freebsd-questions@FreeBSD.ORG Sat Jan 28 21:27:04 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E43AC16A420 for ; Sat, 28 Jan 2006 21:27:04 +0000 (GMT) (envelope-from cperciva@freebsd.org) Received: from pd4mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EC8443D75 for ; Sat, 28 Jan 2006 21:27:03 +0000 (GMT) (envelope-from cperciva@freebsd.org) Received: from pd5mr6so.prod.shaw.ca (pd5mr6so-qfe3.prod.shaw.ca [10.0.141.182]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0ITT00JTMNIW8300@l-daemon> for freebsd-questions@freebsd.org; Sat, 28 Jan 2006 14:25:44 -0700 (MST) Received: from pn2ml9so.prod.shaw.ca ([10.0.121.7]) by pd5mr6so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0ITT0041ENIVS400@pd5mr6so.prod.shaw.ca> for freebsd-questions@freebsd.org; Sat, 28 Jan 2006 14:25:43 -0700 (MST) Received: from [192.168.0.60] ([24.87.209.6]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0ITT00BK3NIR3K10@l-daemon> for freebsd-questions@freebsd.org; Sat, 28 Jan 2006 14:25:43 -0700 (MST) Date: Sat, 28 Jan 2006 13:25:30 -0800 From: Colin Percival In-reply-to: <20060128142808.950F.GERARD@seibercom.net> To: freebsd-questions@freebsd.org Message-id: <43DBE14A.1090405@freebsd.org> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7bit X-Enigmail-Version: 0.94.0.0 References: <20060128142808.950F.GERARD@seibercom.net> User-Agent: Thunderbird 1.5 (X11/20060112) Subject: Re: Portsnap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2006 21:27:05 -0000 Gerard Seibert wrote: > I just started using 'portsnap' on my FreeBSD 5.4 PC. If I were to run > cvsup again, and perhaps 'portsdb -Uu' would that cause a problem if > 'portsnap' were run again? Would I have to run the extract command > again to initialize the ports tree? If you run CVSup, you'll make some changes to the tree -- updating some ports, and probably adding and removing others. When you next run portsnap, it will look at its index of what is "supposed" to be in the existing ports tree, and re-extract all the ports which it thinks have been modified. In the end, portsnap will have done more work than necessary, and in the unlikely scenario that a port was added and then removed between the two runs of portsnap you'll end up with an "orphaned" port directory left behind; but nothing catastrophic will have happened. Running `portsdb -Uu` will have no ill effects at all: Portsnap will overwrite the INDEX files with new versions it builds, while portsnap will (as usual) ignore the INDEX.db file entirely. Colin Percival