From owner-freebsd-toolchain@FreeBSD.ORG Tue Nov 8 22:50:07 2011 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B5D61065672; Tue, 8 Nov 2011 22:50:07 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 384248FC14; Tue, 8 Nov 2011 22:50:05 +0000 (UTC) Received: by wwp14 with SMTP id 14so1493423wwp.31 for ; Tue, 08 Nov 2011 14:50:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MfRahDYnGQo+CjfHdd64nJRjiXdf+iXl0FINSJR0X28=; b=dzgfr6FKHQhs6/duiTqO/YEWviGtWtrbTucEnr2ch3WrWoMyp7BKUHSuXl0N4bbAj4 ayEydfden5HzcwvCqrN2H5i3aoLTICuqWcsXzsCWBwg2vkeyu6xFMiAdJVBT57Pg/bKR okdE/0Rec8Y/7ugmAt5QpRw6Jx4Stt/aLficQ= MIME-Version: 1.0 Received: by 10.180.100.34 with SMTP id ev2mr15068188wib.41.1320790753051; Tue, 08 Nov 2011 14:19:13 -0800 (PST) Received: by 10.180.8.34 with HTTP; Tue, 8 Nov 2011 14:19:13 -0800 (PST) In-Reply-To: <20111108215549.GA44260@freebsd.org> References: <20111108204912.GA34155@freebsd.org> <4EB9A268.5020805@FreeBSD.org> <20111108215549.GA44260@freebsd.org> Date: Tue, 8 Nov 2011 17:19:13 -0500 Message-ID: From: Ryan Stone To: Alexander Best Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-toolchain@freebsd.org, Dimitry Andric Subject: Re: make cleanworld X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2011 22:50:07 -0000 On Tue, Nov 8, 2011 at 4:55 PM, Alexander Best wrote: > another tought would be to do the following: > > find -flags +XXX /usr/obj/usr/git-freebsd-head -exec chflags -R 0 {} + > rm/obj/usr/git-freebsd-head/* As far as I can tell, the expensive part is not chflags, but walking the entire directory tree. Running find will still cause us to walk it twice.