Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Nov 2005 11:23:22 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Alistair Sutton <alistair.sutton@gmail.com>
Cc:        questions@freebsd.org, Richard Jones <richard@jonze.com>
Subject:   Re: Files left over from a installworld
Message-ID:  <20051109162322.GA93640@xor.obsecurity.org>
In-Reply-To: <fa8f05950511090522r363a4471v@mail.gmail.com>
References:  <20051109115950.GA64673@dogstar.jonze.com> <fa8f05950511090522r363a4471v@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <richard@jonze.com> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051109162322.GA93640>