From owner-freebsd-current@FreeBSD.ORG Mon Sep 1 01:58:54 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 C3C2816A4BF; Mon, 1 Sep 2003 01:58:54 -0700 (PDT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84DEA43FAF; Mon, 1 Sep 2003 01:58:53 -0700 (PDT) (envelope-from DougB@freebsd.org) Received: from master.dougb.net (12-234-22-23.client.attbi.com[12.234.22.23](untrusted sender)) by comcast.net (rwcrmhc11) with SMTP id <2003090108585301300q5uine>; Mon, 1 Sep 2003 08:58:53 +0000 Date: Mon, 1 Sep 2003 01:58:52 -0700 (PDT) From: Doug Barton To: "M. Warner Losh" In-Reply-To: <20030901.012249.118997606.imp@bsdimp.com> Message-ID: <20030901015535.Y3776@znfgre.qbhto.arg> References: <20030901064424.GA30277@sunbay.com> <20030901065819.GB3811@gilberto.physik.rwth-aachen.de> <20030901.012249.118997606.imp@bsdimp.com> Organization: http://www.FreeBSD.org/ X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: kuku@physik.rwth-aachen.de cc: ru@FreeBSD.org 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 08:58:54 -0000 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. 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. Doug -- This .signature sanitized for your protection