From owner-freebsd-questions Thu Nov 15 1:21:34 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mcqueen.wolfsburg.de (pns.wobline.de [212.68.68.5]) by hub.freebsd.org (Postfix) with ESMTP id 7AB8C37B405 for ; Thu, 15 Nov 2001 01:21:29 -0800 (PST) Received: from colt.ncptiddische.net (ppp-212.wobline.de [212.68.69.223]) by mcqueen.wolfsburg.de (8.11.3/8.11.3/tw-20010821) with ESMTP id fAF9L9527828; Thu, 15 Nov 2001 10:21:09 +0100 Received: from jodie.ncptiddische.net (jodie.ncptiddische.net [192.168.0.2]) by colt.ncptiddische.net (8.11.6/8.11.6) with ESMTP id fAF9LiV27215; Thu, 15 Nov 2001 10:21:44 +0100 (CET) (envelope-from nils@tisys.org) Received: from jodie.ncptiddische.net (jodie.ncptiddische.net [192.168.0.2]) by jodie.ncptiddische.net (8.11.6/8.11.6) with ESMTP id fAF9LCa01776; Thu, 15 Nov 2001 10:21:47 +0100 (CET) (envelope-from nils@tisys.org) Date: Thu, 15 Nov 2001 10:21:12 +0100 (CET) From: Nils Holland To: "Patrick O'Reilly" Cc: Mike Meyer , Subject: RE: cvsup In-Reply-To: Message-ID: <20011115101641.W1748-100000@jodie.ncptiddische.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 15 Nov 2001, Patrick O'Reilly wrote: > Now, I'm getting ready to update for the second time, and I have read > various people on this list running into trouble due to "stale > dependencies", and suggested solutions to this which range from "rm -rf > /usr/obj" (sounds a bit scary) to "make clean" (sounds more friendly). > > My gut feel is that I should just start with "make clean", and then follow > your procedure as above again. Now, you can just blow /usr/obj out without any ill efects. Whenever I do my regular stable buildworld on Saturdays, I start like this: cd /usr/obj chflags -R noschg * rm -R * The second command unsets the (system) immutable flag for everything in /usr/obj. Otherwise, files in there might refuse to be deleted. Next, with the rm -R command, you totally wipe out /usr/obj. Now you can change to /usr/src, then start your make buildworld, and everything under /usr/obj will be recreated again. You may either want to wipe out /usr/obj *after* each make installworld (especially if you have little HD space), or you might leave it untouched *until* you start your next buildworld. Greetings Nils Nils Holland Ti Systems - FreeBSD in Tiddische, Germany http://www.tisys.org * nils@tisys.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message