From owner-freebsd-current Sat Jul 12 18:16:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA27978 for current-outgoing; Sat, 12 Jul 1997 18:16:20 -0700 (PDT) Received: from pandora.hh.kew.com (ahd@kendra.ne.mediaone.net [24.128.53.73]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA27970 for ; Sat, 12 Jul 1997 18:16:10 -0700 (PDT) Received: (from ahd@localhost) by pandora.hh.kew.com (8.8.5/8.8.5) id VAA00821 for current@FreeBSD.ORG; Sat, 12 Jul 1997 21:16:08 -0400 (EDT) Date: Sat, 12 Jul 1997 21:16:08 -0400 (EDT) From: Drew Derbyshire Message-Id: <199707130116.VAA00821@pandora.hh.kew.com> To: current@FreeBSD.ORG Subject: ld.so.conf, comments, etc.... Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > From: Stefan Esser > On Jul 11, "Jordan K. Hubbard" wrote: > > Should /etc/ld.so.conf be an _override_ or an _add on_ to > > the "detected" ldconfig path list? > > Are comments allowed in /etc/ld.so.conf ? > Assuming you ignore lines starting with a hash character, > you could use "#keep" to preserve the old list, and make > the upgrade procedure (which messes around with /etc/rc.* > anyway) merge the currently found rc.conf default into > the place of that comment, which will trigger the override > behaviour ... I dislike comments which are not _really_ comments, it pollutes the syntax of files in a very ugly fashion. To create an internal directive, use a unique character, not the comment character. On the particular topic, I agree with the don't make /usr/local/etc's ld.so.conf add to the master list. -ahd- -- Drew Derbyshire Internet: ahd@kew.com Kendra Electronic Wonderworks Telephone: 617-279-9812 "The world is full of compromise and infinite red tape . . ."