From owner-freebsd-stable Wed Mar 1 11:45:21 2000 Delivered-To: freebsd-stable@freebsd.org Received: from gndrsh.dnsmgr.net (GndRsh.dnsmgr.net [198.145.92.4]) by hub.freebsd.org (Postfix) with ESMTP id 2F52637C68F for ; Wed, 1 Mar 2000 11:43:30 -0800 (PST) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.9.3/8.9.3) id LAA87107; Wed, 1 Mar 2000 11:41:21 -0800 (PST) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <200003011941.LAA87107@gndrsh.dnsmgr.net> Subject: Re: make clean problem in 'biology' In-Reply-To: <20000301190608.C327@marder-1> from Mark Ovens at "Mar 1, 2000 07:06:08 pm" To: mark@dogma.freebsd-uk.eu.org (Mark Ovens) Date: Wed, 1 Mar 2000 11:41:21 -0800 (PST) Cc: jcm@dogma.freebsd-uk.eu.org (Jonathon McKitrick), jesse@prinz-atm.CS.Uni-Magdeburg.De (Roland Jesse), nbm@mithrandr.moria.org (Neil Blakey-Milner), stable@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-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Wed, Mar 01, 2000 at 06:35:52PM +0000, Jonathon McKitrick wrote: > > On 1 Mar 2000, Roland Jesse wrote: > > > > >Jonathon McKitrick writes: > > > > > >> How many times did i read 'use makeworld -k'?? > > > > > >I wouldn't really vote in favour of `make -k world` as IMHO that might > > >leave the system in an inconsistend state. > > > > Well, that's true, but i culled this piece of knowledge from -current, > > where sometimes an inconsistent world is better than no world at all. > > At least the -k option applies to make clean, and that was what i was > > after. > > > > Going back to the original problem, I may be wrong here but is ``make > clean'' failing due to an out of date /usr/ports/INDEX (a port is > listed in the biology section in the INDEX, but that port no longer > exists). ``cd /usr/ports ; make index'' will solve that one. > Personally though I find doing > > # find /usr/ports -name work > > and then cd(1)'ing to each found path (i.e. the parent of the found > work dir) and doing ``make clean'' there is faster, you don't end up > doing ''make clean'' in every port and it's dependencies. That is the Slow way and over works the file system, thy this: echo */*/work | xargs rm -r At least 1 order of magnitude faster and 2 orders of magnitude less load on the file system. -- Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message