Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Sep 1999 14:22:04 -0700 (PDT)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Matthew Thyer <matt@camtech.net.au>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: make world speed-up patch (was Re: optional 'make release' speed-up patch)
Message-ID:  <199909132122.OAA26035@apollo.backplane.com>
References:   <Pine.BSF.4.10.9909132236100.2625-100000@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
: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




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