From owner-freebsd-stable Sun Mar 1 07:28:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA22141 for freebsd-stable-outgoing; Sun, 1 Mar 1998 07:28:31 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA22134 for ; Sun, 1 Mar 1998 07:28:28 -0800 (PST) (envelope-from dag-erli@ifi.uio.no) Received: from hrotti.ifi.uio.no (2602@hrotti.ifi.uio.no [129.240.64.15]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id QAA17934; Sun, 1 Mar 1998 16:28:25 +0100 (MET) Received: (from dag-erli@localhost) by hrotti.ifi.uio.no ; Sun, 1 Mar 1998 16:28:25 +0100 (MET) To: John Polstra Cc: stable@FreeBSD.ORG Subject: Re: A 'make world' suggestion... References: <008401bd42d5$d07a1190$c9252fce@cello.synapse.net> <199802262135.NAA09350@austin.polstra.com> Organization: Gutteklubben Terrasse / KRST / PUMS X-url: http://www.stud.ifi.uio.no/~dag-erli/ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit From: dag-erli@ifi.uio.no (Dag-Erling Coidan Smørgrav) Date: 01 Mar 1998 16:28:24 +0100 In-Reply-To: John Polstra's message of "Thu, 26 Feb 1998 13:35:01 -0800" Message-ID: Lines: 20 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk John Polstra writes: > > 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. With the added advantage that you can 'mount -o async /usr/obj', and cut your make world time by half. On a 166 MHz Classic Pentium with 128 MB 60 ns EDO RAM, /usr/src on its own 256 MB partition mounted noatime and /usr/obj on its own 256 MB partition mounted async (both on an 4.3 GB IDE Quantum Fireball-SE, unfortunately) and OFLAGS set to '-O -pipe', I make world (without -DNOCLEAN and without nuking /usr/obj) in two and a half hours. -- "I have a closed mind. It helps keeping the rain out." (Michael Press on a.s.r) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message