From owner-freebsd-questions Fri Oct 19 20:33:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from out4.mx.nwbl.wi.voyager.net (out4.mx.nwbl.wi.voyager.net [169.207.1.77]) by hub.freebsd.org (Postfix) with ESMTP id BAE4537B403 for ; Fri, 19 Oct 2001 20:33:25 -0700 (PDT) Received: from shell.core.com (IDENT:2525@shell.voyager.net [169.207.1.89]) by out4.mx.nwbl.wi.voyager.net (8.11.1/8.11.1) with ESMTP id f9K3XPU49811; Fri, 19 Oct 2001 22:33:25 -0500 (CDT) Received: (from dpoland@localhost) by shell.core.com (8.11.6/8.11.6/1.3) id f9K3XOX06737; Fri, 19 Oct 2001 22:33:24 -0500 (CDT) Date: Fri, 19 Oct 2001 22:33:24 -0500 From: Doug Poland To: Mike Meyer Cc: Annelise Anderson , questions@freebsd.org Subject: Re: Help, I've broken ports and I can't get up Message-ID: <20011019223324.B6284@polands.org> References: <69198808@toto.iv> <15312.57890.10061.906384@guru.mired.org> <20011019223042.A6284@polands.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011019223042.A6284@polands.org>; from doug@polands.org on Fri, Oct 19, 2001 at 10:30:42PM -0500 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 Fri, Oct 19, 2001 at 10:30:42PM -0500, Doug Poland wrote: > On Fri, Oct 19, 2001 at 09:32:02PM -0500, Mike Meyer wrote: > > Annelise Anderson types: > > > On Fri, 19 Oct 2001, Doug Poland wrote: > > > > I recently moved my ports hierarchies with the following command: > > > > > > > > # tar -cf - -C ports . | tar xpf - -C /data/usr/ports > > > I had better luck with what I think was the DISTDIR variable, > > > which might help if you're concerned with space on a file system, > > > as distfiles can take quite a lot of space. > > > > If that's the problem, WRKDIRPREFIX can help as well, as it lets you > > unpack the tarballs and do the builds on a file system with more > > space. > > > > If you export /usr/ports via NFS so you can build on other systems, > > WRKDIRPREFIX is pretty much required. > > > That's what I have done. I moved ports on to a drive to take advantage > of vinum and dirpref. What was /usr/ports is now /data/usr/ports and > exported via NFS. > > I'm not sure I understand the importance of WRKDIRPREFIX, especially > on the machine mounting the nfs export. > > Is there a FAQ or published guidance on this technique. How does one > find out all the variables involved? > BTW, I created a symbolic link in /usr pointing to the new location of ports. Is that a bad thing? -- Regards, Doug > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message