From owner-freebsd-questions@FreeBSD.ORG Tue Mar 7 08:18:28 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 8005616A420 for ; Tue, 7 Mar 2006 08:18:28 +0000 (GMT) (envelope-from chandanh@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 044EE43D49 for ; Tue, 7 Mar 2006 08:18:27 +0000 (GMT) (envelope-from chandanh@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so1423807nzo for ; Tue, 07 Mar 2006 00:18:27 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:organization:user-agent:x-accept-language:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=Q3pRnT+6vgXEWrmM2oeITcTek/nFWarBqw1eNgWArnLL1Dvwh0JFV4ZU6EEd4ePAAcBM3zj3HA3PfEZqP/b3EN0oi0zuC0QPvX4BaodcEFV6I4PT9uRdI7HgXHoQQ12NMRaGNchIcve32cLvjPpc4peL3h/ICtCMCVl5xhlpy/o= Received: by 10.36.25.9 with SMTP id 9mr207118nzy; Tue, 07 Mar 2006 00:18:27 -0800 (PST) Received: from ?192.168.0.100? ( [59.144.34.102]) by mx.gmail.com with ESMTP id 8sm6920262nzn.2006.03.07.00.18.25; Tue, 07 Mar 2006 00:18:27 -0800 (PST) Message-ID: <440D434E.7060905@gmail.com> Date: Tue, 07 Mar 2006 13:54:46 +0530 From: Chandan Haldar Organization: TISRA User-Agent: Mozilla Thunderbird 1.0.6 (X11/20060226) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Yuan Jue References: <200603070934.02881.yuanjue02@gmail.com> <200603071528.19040.yuanjue02@gmail.com> In-Reply-To: <200603071528.19040.yuanjue02@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: portsnap cannot change its default WORKDIR ? 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: Tue, 07 Mar 2006 08:18:28 -0000 The two command line options -d -p that portsnap accepts should be adequate for what you seem to be looking for. I use the second frequently. Chandan Yuan Jue wrote: > On Tuesday 07 March 2006 15:17, illoai@gmail.com wrote: > >>-On 3/6/06, Yuan Jue wrote: >> >>>Hi, all >>> >>>I am now using portsnap in FreeBSD 6.0 to upgrade ports tree. It is >>>really much faster than CVSUp. But there is one question that bother me: >>>I cannot change the WORKDIR that portsnap use. >>> >>>I have change WORKDIR in /etc/portsnap.conf to /usr/local/portsnap, but >>>when using 'portsnap fetch', the download files still store >>>in /var/db/portsnap. >>> >>>Any suggestions about this? Thanks in advance! >>> >>>My /etc/portsnap.conf is as follows: >>> >>># $FreeBSD: src/etc/portsnap.conf,v 1.1.2.1 2005/08/15 20:24:07 cperciva >>>Exp $ >>> >>># Default directory where compressed snapshots are stored. >>> WORKDIR=/usr/local/portsnap >> >>Well, it's doesn't seem broken here and mine is exactly like yours. >>Are you using portsnap from the base distro or from the ports tree? > > > I'm using FreeBSD 6.0 and portsnap is from the base distro. > > >>I was under the impression that portsnap from ports used >>/usr/local/etc/portsnap.conf so you may try copying your >>/etc/portsnap.conf there and see if that fixes something or any- >>thing. > > I have tried this as you told. it doesn't work either :( > > BTW: when I deleted /var/db/portsnap, the next time I use portsnap > like: > #portsnap fetch > message will show as follows: > portsnap: Directory does not exist or is not writable: /var/db/portsnap > > any more ideas? >