Date: Sat, 15 Oct 2011 11:14:44 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Peter Kryszkiewicz <tundra2bear@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: ports/distfiles via NFS or SSH Message-ID: <44hb3athgb.fsf@lowell-desk.lan> In-Reply-To: <CAEGUha=DjN84RS5F6JtgCupU5178KfchmPafRqpn6TGv0YKQaw@mail.gmail.com> (Peter Kryszkiewicz's message of "Thu, 13 Oct 2011 20:39:29 -0700") References: <CAEGUha=DjN84RS5F6JtgCupU5178KfchmPafRqpn6TGv0YKQaw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Peter Kryszkiewicz <tundra2bear@gmail.com> writes: > I have several machines networked using NFS mounts or SSH and scp. Only one > machine has internet connectivity - a laptop (machine vbear) with a wireless > card (I'm in a temporary location for a few weeks and only wireless is > available here). > > I tried to mount the ports tree on this machine to the other machines > (machine mfc for instance) with: > > #mfc> cd /usr > #mfc> mount_nfs vbear:/usr/ports ports > > and then installing the needed port on mfc. What happens is that the working > directories and the entire local ports tree gets written to /var, so that I > get /var/ports/usr/ports/devel/xxgdb/work.... and so on. /var fills up very > quickly and I soon get "disk full" errors. > > How can I avoid this? That doesn't happen by default, so you've already changed something, and resetting it to default may be all you need to do. By default, the work directories would be under (e.g.) /usr/ports/devel/xxgdb/work. You have probably set the WRKDIRPREFIX variable somewhere (possibly in make.conf?) and clearing it -- or setting it to somewhere local on the machine, but with more space, which would be faster -- will solve the problem. There are other variables that could cause similar symptoms, but WRKDIRPREFIX is the one I'd bet on at this point if I were you. > I believe the solution is to point the ports Makefile to a different (local) > working directory but point fetch to grab distfiles from the (remote) > laptop, but I'm not sure how to do this. Nothing in what you posted indicates that the distfiles are a problem for you, but if it is, you probably need to look at the DISTDIR variable, and figure out if you are grabbing distfiles to multiple places. Given that only one machine is capable of downloading distfiles in the first place, I think it's unlikely you have trouble in this area. Good luck.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44hb3athgb.fsf>