make cleanworld

Warner Losh imp at bsdimp.com
Tue Nov 8 21:34:03 UTC 2011


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



More information about the freebsd-toolchain mailing list