From owner-freebsd-current@FreeBSD.ORG Mon Sep 1 02:32:46 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5CEA16A4BF; Mon, 1 Sep 2003 02:32:46 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 109E343FF5; Mon, 1 Sep 2003 02:32:40 -0700 (PDT) (envelope-from ru@sunbay.com) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h819WL86054759 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 1 Sep 2003 12:32:21 +0300 (EEST) (envelope-from ru@sunbay.com) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h819WKnB054754; Mon, 1 Sep 2003 12:32:20 +0300 (EEST) (envelope-from ru) Date: Mon, 1 Sep 2003 12:32:20 +0300 From: Ruslan Ermilov To: Doug Barton Message-ID: <20030901093220.GC40983@sunbay.com> References: <20030901064424.GA30277@sunbay.com> <20030901065819.GB3811@gilberto.physik.rwth-aachen.de> <20030901072017.GH30277@sunbay.com> <20030901.012249.118997606.imp@bsdimp.com> <20030901015535.Y3776@znfgre.qbhto.arg> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DSayHWYpDlRfCAAQ" Content-Disposition: inline In-Reply-To: <20030901015535.Y3776@znfgre.qbhto.arg> User-Agent: Mutt/1.5.4i cc: kuku@physik.rwth-aachen.de cc: current@freebsd.org cc: "M. Warner Losh" Subject: Re: /lib symlinks problem? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2003 09:32:46 -0000 --DSayHWYpDlRfCAAQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 01, 2003 at 01:58:52AM -0700, Doug Barton wrote: > On Mon, 1 Sep 2003, M. Warner Losh wrote: >=20 > > My tool is initially just a 'delete these files' tool, but now that I > > think about it, it wouldn't be hard to say also 'create these > > symlinks'. The hard part here is generating the 'obsolete' lists. >=20 > I posted one approach to this today... touch a file right before you > start installworld, then consider anything not newer than that file a > candidate for disposal. There is currently something weird going on in > /usr/lib though... a lot of the files don't have newer dates, I haven't > tracked down why yet. >=20 This is because static libraries are installed with -C. The reasoning was like this: On Sat, Mar 30, 2002 at 02:15:56PM +0100, Dag-Erling Smorgrav wrote: > Ruslan Ermilov writes: > > On Fri, Mar 22, 2002 at 12:28:17PM -0800, Dag-Erling Smorgrav wrote: > > > Log: > > > Install static and profiled libraries with -C. > > Um why, what's so special about them? > > They appear in dependency lists. This was discussed on -arch. This also will not work for anything that has not changed and is installed with -C, that is includes, rtld-elf, and some parts of /sys/boot. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer --DSayHWYpDlRfCAAQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/UxIkUkv4P6juNwoRAokJAJ9xDwyovqsy32P4Jt5ifO4iOEveOwCfeNqf eOWIxoPTNvI2PlSYaZkMKHo= =0X9r -----END PGP SIGNATURE----- --DSayHWYpDlRfCAAQ--