From owner-freebsd-current Fri Sep 17 16:14:45 1999 Delivered-To: freebsd-current@freebsd.org Received: from proxy2.ba.best.com (proxy2.ba.best.com [206.184.139.14]) by hub.freebsd.org (Postfix) with ESMTP id A2F7A1591B for ; Fri, 17 Sep 1999 16:14:41 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com ([209.157.86.2]) by proxy2.ba.best.com (8.9.3/8.9.2/best.out) with ESMTP id QAA04431 for ; Fri, 17 Sep 1999 16:12:39 -0700 (PDT) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id OAA26035; Mon, 13 Sep 1999 14:22:04 -0700 (PDT) (envelope-from dillon) Date: Mon, 13 Sep 1999 14:22:04 -0700 (PDT) From: Matthew Dillon Message-Id: <199909132122.OAA26035@apollo.backplane.com> To: Matthew Thyer Cc: freebsd-current@FreeBSD.ORG Subject: Re: make world speed-up patch (was Re: optional 'make release' speed-up patch) References: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :The snippet from /usr/src/Makefile.inc1 that I'm talking about (in my :own little world) was this: : :.if !defined(NOCLEAN) : @echo : @echo "--------------------------------------------------------------" : @echo ">>> Cleaning up the temporary ${OBJFORMAT} build tree" : @echo "--------------------------------------------------------------" : mkdir -p ${WORLDTMP} : -chflags -R noschg ${WORLDTMP}/ : rm -rf ${WORLDTMP} :.endif : : :Can we please have this optimised ? I think that the rm -rf can safely be placed before before AND after the chflags, which will optimize the chflags considerably. This combined with using softupdates for your /usr/obj partition will result in a very quick cleanup time. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message