From owner-freebsd-current Wed Sep 8 23:35:59 1999 Delivered-To: freebsd-current@freebsd.org Received: from gndrsh.dnsmgr.net (GndRsh.dnsmgr.net [198.145.92.4]) by hub.freebsd.org (Postfix) with ESMTP id 903861521E for ; Wed, 8 Sep 1999 23:35:55 -0700 (PDT) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.9.3/8.9.3) id XAA16842; Wed, 8 Sep 1999 23:35:06 -0700 (PDT) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <199909090635.XAA16842@gndrsh.dnsmgr.net> Subject: Re: optional 'make release' speed-up patch In-Reply-To: <199909090404.AAA71015@bb01f39.unx.sas.com> from "John W. DeBoskey" at "Sep 9, 1999 00:04:39 am" To: jwd@unx.sas.com (John W. DeBoskey) Date: Wed, 8 Sep 1999 23:35:04 -0700 (PDT) Cc: freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi, > > The following patch to /usr/src/release/Makefile allows the > specification of the variable FASTCLEAN, which instead of doing > a recursive rm on CHROOTDIR, simply umounts/newfs/mounts. Of > course, this is only useful if your CHROOTDIR location is a > separate mount point (which mine is: /snap). > > Comments and critiques welcome. And how about a similiar patch to /usr/src/Makefile that is FASTCLEANDIR that brings back a patched up version of my original CLEANDIR. Something like -rm -rf /usr/obj/${.CURDIR}/tmp chflags -R noschg /usr/obj/${.CURDIR}/tmp rm -rf /usr/obj/${.CURDIR} > > Would someone consider committing this please? > Thanks, > John > > Index: Makefile > =================================================================== > RCS file: /mirror/ncvs/src/release/Makefile,v ... -- Rod Grimes - KD7CAX - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message