From owner-cvs-gnu Thu Aug 21 21:42:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA14287 for cvs-gnu-outgoing; Thu, 21 Aug 1997 21:42:52 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA14249; Thu, 21 Aug 1997 21:42:25 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id VAA07549; Thu, 21 Aug 1997 21:42:14 -0700 (PDT) Date: Thu, 21 Aug 1997 21:42:14 -0700 (PDT) Message-Id: <199708220442.VAA07549@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-gnu@FreeBSD.ORG Subject: cvs commit: src/gnu/usr.bin/ld/ldconfig ldconfig.8 ldconfig.c Sender: owner-cvs-gnu@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/08/21 21:42:13 PDT Modified files: gnu/usr.bin/ld/ldconfig ldconfig.8 ldconfig.c Log: Add -R (rescan or refresh) option to rescan and rebuild the hints file based on the previous list of directories stored there which should overcome a weakness of the '-m' switch which can only add libs. This is an ideal way of updating the hints list after adding or removing a shlib since it will remove entries that are gone and doesn't need to have all the directories spelled out each time. (eg: rm -f /usr/lib/libtcl75*; ldconfig -R) This only works for version 2 hints files (which we've been generating for a year or so) which store the path. Revision Changes Path 1.14 +8 -3 src/gnu/usr.bin/ld/ldconfig/ldconfig.8 1.20 +19 -10 src/gnu/usr.bin/ld/ldconfig/ldconfig.c