From owner-freebsd-current Sat Jul 12 06:14:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA04772 for current-outgoing; Sat, 12 Jul 1997 06:14:54 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA04765 for ; Sat, 12 Jul 1997 06:14:49 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id WAA28818; Sat, 12 Jul 1997 22:44:33 +0930 (CST) From: Michael Smith Message-Id: <199707121314.WAA28818@genesis.atrad.adelaide.edu.au> Subject: Re: Heads up and and a call for a show of hands. In-Reply-To: <7882.868710267@time.cdrom.com> from "Jordan K. Hubbard" at "Jul 12, 97 05:24:27 am" To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Sat, 12 Jul 1997 22:44:33 +0930 (CST) Cc: asami@cs.berkeley.edu, torstenb@ramsey.tb.9715.org, current@FreeBSD.ORG, hans@brandinnovators.com X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Jordan K. Hubbard stands accused of saying: > > As to the question of "override vs overlay", after listening to > various people's comments, I'm thinking that the following compromise > scenario would also make some sense: Close. > local_dirs="/usr/local /usr/X11R6" # local hierarchies of importance. > local_startup=YES # NO to deactivate local scripts. No good. I want to run startups in /usr/local, but only ldconfig in /usr/X11R6, or vice versa. If you want to do this, the only way that works is to explicitly enumerate both sets of paths : local_loadpath="..." local_startups="..." This is simpler to understand, simpler to parse, and completely covers all possibilities by separating two things that have no reason to be associated in the first place. My personal take on the ldconfig situation : ldconfig should have an internal set of default paths (initiallt just /usr/lib), which can be manually inhibited on the commandline if required, it should support /etc/ld.so.conf by reading it if it exists, and it should take paths on the commandline. As for whether /etc/ld.so.conf should override the inbuilt search path, the obvious answer is _no_; there is a perfectly good control for this on the commandline. -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[