From owner-freebsd-questions@FreeBSD.ORG Tue Jan 18 12:32:03 2005 Return-Path: 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 988A616A4CE for ; Tue, 18 Jan 2005 12:32:03 +0000 (GMT) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 295D543D39 for ; Tue, 18 Jan 2005 12:31:57 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226])j0ICVoga018582; Tue, 18 Jan 2005 14:31:51 +0200 Received: by orion.daedalusnetworks.priv (Postfix, from userid 1001) id C16AB2A431; Tue, 18 Jan 2005 14:31:50 +0200 (EET) Date: Tue, 18 Jan 2005 14:31:50 +0200 From: Giorgos Keramidas To: Doug Poland Message-ID: <20050118123150.GA2335@orion.daedalusnetworks.priv> References: <20050117060510.GA63358@xor.obsecurity.org> <8DC9B67A-6857-11D9-8611-000393681B06@lafn.org> <20050117071900.GA92079@xor.obsecurity.org> <20050117190712.GA70520@xor.obsecurity.org> <20050117203022.GB7893@polands.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050117203022.GB7893@polands.org> cc: f-questions List Subject: Re: 5.3 Building Kernel/World X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2005 12:32:03 -0000 On 2005-01-17 14:30, Doug Poland wrote: > > On Jan 17, 2005, at 11:07, Kris Kennaway wrote: > > >>>cd /usr/src > > >>>make cleandir > > >>>make cleandir > > >>>make buildworld > > >>> > > >>>Kris > > Interesting, what does "make cleandir" do? Is it different than > running > > # cd /usr/obj > # chflags -R noschg * > # rm -rf * > > as documented in the handbook? The first 'cleandir' run is pretty much equivalent to the instructions in the Handbook. If there are stale objects or libraries under /usr/src, the second cleandir run cleans those too. Normally, there shouldn't be any stale objects under /usr/src, because the recommended buildworld/buildkernel cycle uses /usr/obj for that. If there are left-overs under /usr/src, they are usually the result of manual builds run in one of the subdirectories of /usr/src. - Giorgos