Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Nov 2011 17:19:13 -0500
From:      Ryan Stone <rysto32@gmail.com>
To:        Alexander Best <arundel@freebsd.org>
Cc:        freebsd-toolchain@freebsd.org, Dimitry Andric <dim@freebsd.org>
Subject:   Re: make cleanworld
Message-ID:  <CAFMmRNzEkA0U88vFGyT82C1zbXMtkU80UCz=MypZVug_bO156g@mail.gmail.com>
In-Reply-To: <20111108215549.GA44260@freebsd.org>
References:  <20111108204912.GA34155@freebsd.org> <4EB9A268.5020805@FreeBSD.org> <20111108215549.GA44260@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 8, 2011 at 4:55 PM, Alexander Best <arundel@freebsd.org> 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.



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