From owner-freebsd-rc@FreeBSD.ORG Mon Dec 19 11:30:12 2005 Return-Path: X-Original-To: freebsd-rc@hub.freebsd.org Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D197016A41F for ; Mon, 19 Dec 2005 11:30:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CA7A43D45 for ; Mon, 19 Dec 2005 11:30:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBJBU7s7016371 for ; Mon, 19 Dec 2005 11:30:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBJBU7IS016370; Mon, 19 Dec 2005 11:30:07 GMT (envelope-from gnats) Date: Mon, 19 Dec 2005 11:30:07 GMT Message-Id: <200512191130.jBJBU7IS016370@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org From: Florent Thoumie Cc: Subject: Re: conf/88383 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Florent Thoumie List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2005 11:30:12 -0000 The following reply was made to PR conf/88383; it has been noted by GNATS. From: Florent Thoumie To: bug-followup@freebsd.org Cc: Frank Laszlo Subject: Re: conf/88383 Date: Mon, 19 Dec 2005 12:24:45 +0100 --=-1a1EXwkAs1HStI9vuMwo Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I'm quite sure the current version of rc.d/ldconfig does what=20 you want. Try this and you'll see : # cat >> /root/foo.so.conf /lib /usr/lib ^D # ldconfig /var/empty # ldconfig -r # ldconfig /root/foo.so.conf # ldconfig -r Look at src/sbin/ldconfig/ldconfig.c and you'll see : if (S_ISREG(stbuf.st_mode)) rval |=3D dofile(argv[i], 0); else add_search_path(argv[i]); --=20 Florent Thoumie flz@FreeBSD.org FreeBSD committer --=-1a1EXwkAs1HStI9vuMwo Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDpph8MxEkbVFH3PQRAj6fAJ9Tg7HZ833FhRlpB15N6UVF5ZgO9gCfThyJ unm3kW/Av8qV7PX8NKEfSIU= =0ipU -----END PGP SIGNATURE----- --=-1a1EXwkAs1HStI9vuMwo--