From owner-freebsd-questions Mon Mar 30 14:42:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA10264 for freebsd-questions-outgoing; Mon, 30 Mar 1998 14:42:07 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mailc.telia.com (root@mailc.telia.com [194.22.190.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA10179 for ; Mon, 30 Mar 1998 14:41:40 -0800 (PST) (envelope-from girgen@partitur.se) Received: from d1o29.telia.com (root@d1o29.telia.com [194.236.214.241]) by mailc.telia.com (8.8.8/8.8.8) with ESMTP id AAA15485; Tue, 31 Mar 1998 00:41:16 +0200 (MET DST) Received: from partitur.se (t2o29p113.telia.com [194.236.214.233]) by d1o29.telia.com (8.8.4/8.8.5) with ESMTP id AAA04267; Tue, 31 Mar 1998 00:41:06 +0200 (MET DST) Message-ID: <35201F63.89F64CDD@partitur.se> Date: Tue, 31 Mar 1998 00:40:35 +0200 From: Palle Girgensohn Organization: Partitur X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.6-BETA i386) MIME-Version: 1.0 To: Doug White CC: questions@FreeBSD.ORG Subject: Re: nfs mounting /usr/local/bin as /opt/bin? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug White wrote: > > On Thu, 26 Mar 1998, Palle Girgensohn wrote: > > > Are there any ports that will break if they are used from another > > directory (i.e. /opt/bin) than what they were originally installed into > > (i.e. /usr/local/bin)? I'm not considering daemons and stuff, but user > > programs. > > Not that I know of, as long as /opt/bin is in your path you will probably > be okay. > > Hint hint: > > > /opt/bin otherserver:/usr/local/bin > > /opt/lib otherserver:/usr/local/lib > > Run `ldconfig -m /opt/lib' to pick up those libraries. > > > /opt/man oterhserver:/usr/local/man > > Edit /etc/manpath.config and add this directory as optional. > Yea, that's what I had in mind. Just curious if any programs have hard coded paths in them; deamons usually have, but that's beyond the scope... I guess I'll try and see... :) Anybody know if I can create a PATH that chooses certain (local) directories before other (nfs-mounted), e.g. by choosing a certain order? Isn't stuff in the PATH usually sotred in a hash table? Hard to predict then, I presume... /Palle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message