From owner-freebsd-current@FreeBSD.ORG Mon Sep 1 09:24:19 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 A318116A4BF; Mon, 1 Sep 2003 09:24:19 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 147E244001; Mon, 1 Sep 2003 09:24:18 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9/8.12.3) with ESMTP id h81GOHTX026483; Mon, 1 Sep 2003 10:24:17 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 01 Sep 2003 10:23:23 -0600 (MDT) Message-Id: <20030901.102323.104872055.imp@bsdimp.com> To: DougB@freebsd.org From: "M. Warner Losh" In-Reply-To: <20030901023511.L3776@znfgre.qbhto.arg> References: <20030901015535.Y3776@znfgre.qbhto.arg> <20030901093220.GC40983@sunbay.com> <20030901023511.L3776@znfgre.qbhto.arg> X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: kuku@physik.rwth-aachen.de cc: current@freebsd.org 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 16:24:19 -0000 In message: <20030901023511.L3776@znfgre.qbhto.arg> Doug Barton writes: : On Mon, 1 Sep 2003, Ruslan Ermilov wrote: : : > > 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. : > > : > 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. : : Can you fill in a little more detail here? I really prefer the old : behavior, not using -C. : : > This also will not work for anything that has not changed and is : > installed with -C, that is includes, : : I posted my script to -current just today. I 'mv include include-old' to : handle this. I also blow away /usr/share/man, since creating it from : scratch is just as easy as trying to cleanse it. : : > rtld-elf, and some parts of /sys/boot. : : I haven't touched /boot yet, I'm not that brave. :) There are a couple : other things that my script doesn't handle just on the basis of "newer : than," but as a proof of concept it's quite functional. The mv /usr/foo -> /usr/foo.old is too dangerous, and I think it is the wrong way to go. Warner