From owner-freebsd-current@FreeBSD.ORG Fri May 23 20:44:42 2003 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 C049737B401 for ; Fri, 23 May 2003 20:44:42 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F03643F3F for ; Fri, 23 May 2003 20:44:39 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h4O3iNEd064786 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 24 May 2003 06:44:24 +0300 (EEST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h4O3iJl0064781; Sat, 24 May 2003 06:44:19 +0300 (EEST) (envelope-from ru) Date: Sat, 24 May 2003 06:44:19 +0300 From: Ruslan Ermilov To: Craig Rodrigues Message-ID: <20030524034419.GA63643@sunbay.com> References: <20030523203517.GA93787@attbi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" Content-Disposition: inline In-Reply-To: <20030523203517.GA93787@attbi.com> User-Agent: Mutt/1.5.4i cc: freebsd-current@freebsd.org Subject: Re: Updating -CURRENT, what about outdated files? 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: Sat, 24 May 2003 03:44:43 -0000 --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 23, 2003 at 04:35:17PM -0400, Craig Rodrigues wrote: > Hi, >=20 > On one of my systems, I like to track -CURRENT, so I do a lot of: > - cvsup > - make buildworld > - make buildkernel > - make installkernel > - mergemaster -p > - make installworld > - mergemaster >=20 > If I do this a lot, then sometimes my installed world may have > outdated libraries and header files. How can I make sure that > my installed tree doesn't have outdated stuff? >=20 > For example, just before doing make installworld, I sometimes do: > rm -r /usr/include >=20 > I am too scared to do this for /usr/lib or any other directory. >=20 > Is there a good way to do what I want? >=20 I do this a lot too. And I use "find . -mtime +1 ! -type d" to seek for the stale stuff. This of course requires that you're not running with ``INSTALL=3D"install -C"'' in /etc/make.conf. Things that are installed with -C, or aren't touched if they already exist, should not be deleted. I use the common sense and my experience when deciding if I should delete a particular file or not. I also keep the output of the previous "make distrib-dirs distribution" run in /var/tmp/`date +%Y%m%d`, and this allows me to remove stake directories and other stuff that is not affected by "installworld", like /etc. But then again, this is probably because I don't use mergemaster(8). Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+zuqTUkv4P6juNwoRAtzjAJ9QnooVcrddlfyW3kpKUijEphx+GgCghI/6 yaMx4YAJnVTB/e42Tqdo98w= =5rtW -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt--