On Tue Nov  8 11, Warner Losh wrote:
> 
> On Nov 8, 2011, at 2:55 PM, Alexander Best wrote:
> > find -flags +XXX /usr/obj/usr/git-freebsd-head -exec chflags -R 0 {} +
> > rm/obj/usr/git-freebsd-head/*
> > 
> > that should only execute chflags(1) on those files with flags set.
> 
> THat's only faster if the entire directory tree says in the directory cache.  
> It isn't so much about chflags being called N times, but having to look at N 
> files twice.

i think i got it now. ;) sorry for beeing so slow. i'll try to come up with a
patch for Makefile, which mentions this in the comment.

cheers.
alex

> 
> Warner
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to