From owner-freebsd-questions Fri Mar 22 10:41: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id B9AD037B42A for ; Fri, 22 Mar 2002 10:40:48 -0800 (PST) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.12.2/8.12.2) with ESMTP id g2MIelqg021528; Fri, 22 Mar 2002 12:40:47 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.2/8.12.2/Submit) id g2MIekY5021527; Fri, 22 Mar 2002 12:40:46 -0600 (CST) Date: Fri, 22 Mar 2002 12:40:46 -0600 From: Dan Nelson To: "Marc G. Fournier" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Using AMD to share /usr/ports ... Message-ID: <20020322184046.GA5937@dan.emsphone.com> References: <20020322142952.D32231-100000@mail1.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020322142952.D32231-100000@mail1.hub.org> User-Agent: Mutt/1.3.28i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error 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 In the last episode (Mar 22), Marc G. Fournier said: > > I'm going through all the various docs that I can find, but, so far, not > finding what I'm searching for ... > > Basically, I want to 'share' /usr/ports as transparently as possible > amongst several machines ... I want the end users to be able to run > pkg_version -c, but not have to think of doing a 'mount' before that ... > > So, I setup a very simple 'ports.map' file: > > # $FreeBSD: src/etc/amd.map,v 1.8 1999/09/13 17:09:07 peter Exp $ > # > /defaults type:=nfs;opts:=rw,intr,nosuid,grpid > * rhost:=proxy.acadiau.ca;rfs:=/usr/ports I cheat and just symlink /usr/ports to /host/mainmachine/usr/ports, and let amd's default /host entry handle the rest. Works for /usr/src too. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message