From owner-freebsd-current@FreeBSD.ORG Mon Sep 1 09:23:12 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 CDCB616A4BF; Mon, 1 Sep 2003 09:23:12 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82B0643FF2; Mon, 1 Sep 2003 09:23:11 -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 h81GN9TX026436; Mon, 1 Sep 2003 10:23:09 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 01 Sep 2003 10:22:16 -0600 (MDT) Message-Id: <20030901.102216.108348004.imp@bsdimp.com> To: DougB@freebsd.org From: "M. Warner Losh" In-Reply-To: <20030901015535.Y3776@znfgre.qbhto.arg> References: <20030901072017.GH30277@sunbay.com> <20030901.012249.118997606.imp@bsdimp.com> <20030901015535.Y3776@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:23:12 -0000 In message: <20030901015535.Y3776@znfgre.qbhto.arg> Doug Barton writes: : On Mon, 1 Sep 2003, M. Warner Losh wrote: : : > 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. : : 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. No. That's not what I'm talking about. That approach is crap, because installworld doesn't touch all files. : Also, I highly recommend NOT deleting the files, but moving them : somewhere. This makes it much easier to recover if you delete something : you shouldn't have. I don't care the method of removal. I care more about the list. If you want to mv them them instead of rm, it isn't a big deal to change that detail. Warner