From owner-freebsd-current@FreeBSD.ORG Mon Oct 25 11:28:49 2004 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 3100B16A4D0 for ; Mon, 25 Oct 2004 11:28:49 +0000 (GMT) Received: from mailout07.sul.t-online.com (mailout07.sul.t-online.com [194.25.134.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8E3C43D53 for ; Mon, 25 Oct 2004 11:28:48 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from fwd03.aul.t-online.de by mailout07.sul.t-online.com with smtp id 1CM31p-0001sU-01; Mon, 25 Oct 2004 13:28:45 +0200 Received: from Andro-Beta.Leidinger.net (bHknD2Z18eFCLsU91hNqUQ6Z3cFIt3uCOvENL0bVzkjKo+5wU6yI8S@[217.229.218.178]) by fmrl03.sul.t-online.com with esmtp id 1CM31l-1ijRxI0; Mon, 25 Oct 2004 13:28:41 +0200 Received: from Andro-Beta.Leidinger.net (localhost [127.0.0.1]) i9PBScqE080194; Mon, 25 Oct 2004 13:28:39 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: (from www@localhost)i9PBSbfD080193; Mon, 25 Oct 2004 13:28:38 +0200 (CEST) (envelope-from Alexander@Leidinger.net) X-Authentication-Warning: Andro-Beta.Leidinger.net: www set sender to Alexander@Leidinger.net using -f Received: from wwwproxy-2.sns-felb.debis.de (wwwproxy-2.sns-felb.debis.de [53.122.192.14]) by netchild.homeip.net (IMP) with HTTP for ; Mon, 25 Oct 2004 13:28:36 +0200 Message-ID: <1098703716.417ce36428e2a@netchild.homeip.net> Date: Mon, 25 Oct 2004 13:28:36 +0200 From: Alexander Leidinger To: Thomas Hurst References: <20041016142502.6362d396@Magellan.Leidinger.net> <20041023.194558.63828926.imp@bsdimp.com> <20041024124805.378e6bc3@Magellan.Leidinger.net> <20041024131927.GA60644@voi.aagh.net> In-Reply-To: <20041024131927.GA60644@voi.aagh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.6 / FreeBSD-4.10 X-Originating-IP: 53.122.192.14 X-ID: bHknD2Z18eFCLsU91hNqUQ6Z3cFIt3uCOvENL0bVzkjKo+5wU6yI8S@t-dialin.net X-TOI-MSGID: cae9a020-1634-49d0-a1ab-639045aa2a8f cc: current@freebsd.org cc: "M. Warner Losh" Subject: Re: RFC: automated way of removing old base system files (only for a recent 6-current!) 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, 25 Oct 2004 11:28:49 -0000 Zitat von Thomas Hurst : > * Alexander Leidinger (Alexander@Leidinger.net) wrote: > > > But mtree doesn't has an option to ask the user if he really wants to > > delete those files (at least it's not very obvious if you fast-read > > the man-page). Even if they are old base system files, I don't want to > > just remove them without explicit permission. Better safe than sorry. > > But maybe I'm paranoid (at least for files and directories, but I > > strongly discourage the automated removal of old libs). > > Can you move them to another directory like portupgrade? Then just > leave it up to the user to clean out lib/compat/old or so? Libraries which get removed this way are supposed to appear as an comapt distribution of some kind... e.g. ports/misc/compat4x. So the intended way of operation would be to either install the compat port and remove the old libs, or to reinstall every port with the right dependencies to the new libs and remove the old libs. Warner and I are talking how to implement the "remove the old libs" step. My approach allows a "run and abort if necessary" behavior, while Warners suggestion is a "fire and get burned if you forgot something" scenario (you could have a look at the files which specify what is supposed to get removed, but this view isn't filtered and additionally you have to know where the filelist is stored). Bye, Alexander. -- http://www.Leidinger.net/ Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org/ netchild @ FreeBSD.org : PGP ID = 72077137 Campus sidewalks never exist as the straightest line between two points. -- M. M. Johnston