From owner-freebsd-questions@FreeBSD.ORG Fri Oct 14 04:08:54 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 134FC106566B for ; Fri, 14 Oct 2011 04:08:54 +0000 (UTC) (envelope-from tundra2bear@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 959248FC1B for ; Fri, 14 Oct 2011 04:08:53 +0000 (UTC) Received: by bkbzx1 with SMTP id zx1so1288394bkb.13 for ; Thu, 13 Oct 2011 21:08:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=xjYKUzBuiBWxhpmTau4IkZiJWOhnzDU5BiowRf3eoPk=; b=xra5MmLTTrDXyRVRKmd3oUdEnmiLrPvQ1JPDqbc/7V2ipkDFBi9gigUvMp+A3R6/R5 dMQ5DNqcR715KzfDyecv7Nnc+GfZ8ejNtCvGkKMGyQBojhOkAI6tOHCLDahp5PypQlyx 5mhVOkP6iVCjVK/yAgHNv28b4GpeZ5dy71sjQ= Received: by 10.223.85.134 with SMTP id o6mr1132605fal.8.1318563593029; Thu, 13 Oct 2011 20:39:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.103.197 with HTTP; Thu, 13 Oct 2011 20:39:29 -0700 (PDT) From: Peter Kryszkiewicz Date: Thu, 13 Oct 2011 20:39:29 -0700 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ports/distfiles via NFS or SSH 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: Fri, 14 Oct 2011 04:08:54 -0000 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? 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. regards, Peter Kryszkiewicz