Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 1998 13:35:01 -0800
From:      John Polstra <jdp@polstra.com>
To:        stable@FreeBSD.ORG
Subject:   Re: A 'make world' suggestion...
Message-ID:  <199802262135.NAA09350@austin.polstra.com>
In-Reply-To: <008401bd42d5$d07a1190$c9252fce@cello.synapse.net>
References:  <008401bd42d5$d07a1190$c9252fce@cello.synapse.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> >Whoops!  Of course I meant 'rm -rf /usr/obj' below...
> 
> 
> That would not be good for the case where /usr/obj is the root of a mounted
> filesystem (ie: in my case, /usr/src and /usr/obj are NFS mounted).  Perhaps
> rm -rf /usr/obj/* would be better.  Either way, you're right; it's much
> faster to toast /usr/obj in advance.

There's an even faster way.  Put /usr/obj alone in its own filesystem,
and replace the "rm -rf" with a umount - newfs - mount sequence.
Newfs is the fastest version of "rm -rf" in the world.
--
   John Polstra                                       jdp@polstra.com
   John D. Polstra & Co., Inc.                Seattle, Washington USA
   "Self-knowledge is always bad news."                 -- John Barth

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



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