Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Nov 2011 14:29:52 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Alexander Best <arundel@freebsd.org>
Cc:        freebsd-toolchain@freebsd.org
Subject:   Re: make cleanworld
Message-ID:  <07EC4416-D366-4CD9-8655-CB89935B0354@bsdimp.com>
In-Reply-To: <20111108204912.GA34155@freebsd.org>

index | next in thread | previous in thread | raw e-mail


On Nov 8, 2011, at 1:49 PM, Alexander Best wrote:

> hi there,
> 
> any reason 'make cleanworld' does
> 
> otaku% make cleanworld
> rm -rf /usr/obj/usr/git-freebsd-head/*
> chflags -R 0 /usr/obj/usr/git-freebsd-head
> rm -rf /usr/obj/usr/git-freebsd-head/*
> 
> where
> 
> otaku% make cleanworld
> chflags -R 0 /usr/obj/usr/git-freebsd-head
> rm -rf /usr/obj/usr/git-freebsd-head/*
> 
> should be sufficient?

chflags is a lot slower when it has to do an entire tree, rather than just a few files.  So this winds up being faster.  Or did across a wide swath of FreeBSD version 4-7.

Warner



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?07EC4416-D366-4CD9-8655-CB89935B0354>