From owner-freebsd-current@FreeBSD.ORG Sun Oct 24 16:38:39 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 8FFBD16A4CE for ; Sun, 24 Oct 2004 16:38:39 +0000 (GMT) Received: from s1.stradamotorsports.com (ip30.gte215.dsl-acs2.sea.iinet.com [209.20.215.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E19D43D5D for ; Sun, 24 Oct 2004 16:38:39 +0000 (GMT) (envelope-from jcw@highperformance.net) Received: from [192.168.1.16] ([192.168.1.16])i9OGcb8m002386 for ; Sun, 24 Oct 2004 09:38:37 -0700 (PDT) (envelope-from jcw@highperformance.net) Date: Sun, 24 Oct 2004 09:38:37 -0700 From: "Jason C. Wells" To: current@freebsd.org Message-ID: <12D1A2B7719A7312364675CC@[192.168.1.16]> In-Reply-To: <20041024131927.GA60644@voi.aagh.net> References: <20041016142502.6362d396@Magellan.Leidinger.net> <20041023.194558.63828926.imp@bsdimp.com> <20041024124805.378e6bc3@Magellan.Leidinger.net> <20041024131927.GA60644@voi.aagh.net> X-Mailer: Mulberry/3.1.5 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Status: No, hits=-1.0 required=4.0 tests=IN_REP_TO,REFERENCES version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) 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: Sun, 24 Oct 2004 16:38:39 -0000 I realize that I am a bit of a late comer to this discussion. I use this method to remove old files. You guys might gasp in horror, but it seems to work. The actual script is a bit longer. I do this on RELENG_5 but that shouldn't matter. # make buildworld # touch time_marker # make installworld # find $dir \! -path $includes_and_others \! -type d \! -newer time_marker -exec rm {} \; I only recently started doing this on a system that I mostly compile software on. I did end up having to remake a port that was linked to a library that was deleted. That's no biggy on a hobby box. My motivation was to delete items that I had NO_* (bind, sendmail) options for in make.conf. Later, Jason