Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2001 13:59:21 +0100
From:      dirk.meyer@dinoex.sub.org (Dirk Meyer)
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Cleaning out old/unused files after make world
Message-ID:  <M8CM1vl2i6@dmeyer.dinoex.sub.org>
References:  <Pine.BSF.4.31.0101101356580.39075-100000@hq1.tyfon.net> <Pine.BSF.4.31.0101101356580.39075-100000@hq1.tyfon.net> <20010110211121.W79365@strontium.scientia.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Ben Smithurst wrote:

> Start with find(1)'s -mtime option, removing files older than your
> last buildworld in appropriate directories.  Where `appropriate
> directories' are those completely updated by buildworld (i.e. NOT /etc,
> /usr/local, and so on).  Mainly I'd go for /bin /sbin /usr/bin /usr/sbin
> /usr/libexec /usr/share /usr/libdata.  Also, I wouldn't remove old
> libraries from /usr/lib since stuff in /usr/local might still be using
> them.  And be careful what you delete, of course. :-)

It made sense to me to move all older libs and their corresponding sylinks
into the compat directory. Then use ldconfig to amke teh system aware
of the new location.

benefits:
- libpath ist clean
- old ports can still access the lib
- news builds will find the right libs,
  configure of a port might otherwise prefer to use an old lib.

once you updated all your ports,
its safe to clean the old libs.

kind regards Dirk

- Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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