From owner-freebsd-questions@FreeBSD.ORG Wed Nov 9 16:23:24 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 373E216A41F for ; Wed, 9 Nov 2005 16:23:24 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id C63A043D45 for ; Wed, 9 Nov 2005 16:23:23 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id A6E821A3C27; Wed, 9 Nov 2005 08:23:23 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C2EFA52055; Wed, 9 Nov 2005 11:23:22 -0500 (EST) Date: Wed, 9 Nov 2005 11:23:22 -0500 From: Kris Kennaway To: Alistair Sutton Message-ID: <20051109162322.GA93640@xor.obsecurity.org> References: <20051109115950.GA64673@dogstar.jonze.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: questions@freebsd.org, Richard Jones Subject: Re: Files left over from a installworld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2005 16:23:24 -0000 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 09, 2005 at 01:22:35PM +0000, Alistair Sutton wrote: > On 09/11/05, Richard Jones wrote: > > Hi, > > > > I've been continuously upgrading my machine from (I think) RELEASE-4.8, > > and I'm beginning to see lots of cruft from older releases accumulating. > > What are the list's feelings on deleting the majority of files listed > > by: > > > > find / /usr -xdev -mtime +7 > > > > There are plenty there that I created or belong the packages e.g. > > /etc/mail/$HOSTNAME.mc and /etc/X11/XFConfig > > > > but what about, for example: > > > > /etc/netconfig > > /etc/pam.d/ftpd > > /etc/periodic/daily/100.clean-disks > > /etc/amd.map > > /sbin/ip6fw > > /sbin/ilmid > > /lib/libdevstat.so.4 > > /lib/libutil.so.4 > > /rescue/ipmon > > > > Obviously dollops of common sense are needed, but has anyone attempted > > to formalize this type spring cleaning? >=20 > There is something that was committed to -CURRENT a month or so ago > that will delete out-of-date files but I can't remember what the name > of it is. 'make delete-old' and 'make delete-old-libs'. > I'm sure it'll get MFCed from -CURRENT at some point once it becomes > more stable. It's not too hard to back-port it yourself (e.g. if you're using 6.0 you can just cvs update the /usr/src/Makefile* and ObsoleteFiles.inc). This won't work after the first 6.0 file is removed from -CURRENT, and on't try it on anything before 6.0, obviously! Kris --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDciJ6Wry0BWjoQKURArb8AJ9Q4BuAVsKgYCxwoGlnAoYxTmhflgCgjfzn HpRy41TGs3i5LDjtuzR0/I4= =kCWk -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--