From owner-freebsd-arch@FreeBSD.ORG Wed Jun 11 12:06:30 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 038F237B401; Wed, 11 Jun 2003 12:06:30 -0700 (PDT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id F025443F3F; Wed, 11 Jun 2003 12:06:28 -0700 (PDT) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id h5BJ6FhS021394; Wed, 11 Jun 2003 12:06:15 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9) with ESMTP id h5BJ6Fiw015761; Wed, 11 Jun 2003 12:06:15 -0700 (PDT) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9/Submit) id h5BJ6Fnd015760; Wed, 11 Jun 2003 12:06:15 -0700 (PDT) Date: Wed, 11 Jun 2003 12:06:15 -0700 From: Marcel Moolenaar To: Garance A Drosihn Message-ID: <20030611190615.GA15695@dhcp01.pn.xcllnt.net> References: <20030610124747.A7560@phantom.cris.net> <20030610024524.D23396@znfgre.qbhto.arg> <20030611075750.GB57496@wantadilla.lemis.com> <20030611.093203.26943899.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i cc: grog@freebsd.org cc: ache@nagual.pp.ru cc: DougB@freebsd.org cc: "M. Warner Losh" cc: arch@freebsd.org Subject: Re: removing stale files X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2003 19:06:30 -0000 On Wed, Jun 11, 2003 at 02:36:49PM -0400, Garance A Drosihn wrote: > > >NetBSD's approach in etcupdate is based on a master list of > >files that have gone away. > > I think that something small and simple like this is what we > should do at first, because it's something we can do in a > short amount of time, and still have reasonable confidence > that we aren't doing any harm. I'm not sure people realize that things are being mixed-up. The removal of, say, stale header files has nothing to do with /etc or configuration. The removal of a header file should be done at installworld time when the new bits that define FreeBSD without said header is being put in place. The same applies to locale files, libraries and binaries. Do not add to the problem space those bits that are handled (or supposed to be handled) by mergemaster. That we don't touch. As for the argument that removing a library, binary or header may break some tools, scripts or sources that depend on it: If that happens, we failed to maintain backward compatibility. The bug is not in the removal of a stale file, but in the fact that the file has become stale. Keeping stale files around only hides the bug. If breaking the backward compatibility was intentional, then removal of the file is mandatory. FWIW, -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net