Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Mar 2000 11:41:21 -0800 (PST)
From:      "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
To:        mark@dogma.freebsd-uk.eu.org (Mark Ovens)
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
Subject:   Re: make clean problem in 'biology'
Message-ID:  <200003011941.LAA87107@gndrsh.dnsmgr.net>
In-Reply-To: <20000301190608.C327@marder-1> from Mark Ovens at "Mar 1, 2000 07:06:08 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> On Wed, Mar 01, 2000 at 06:35:52PM +0000, Jonathon McKitrick wrote:
> > On 1 Mar 2000, Roland Jesse wrote:
> > 
> > >Jonathon McKitrick <jcm@dogma.freebsd-uk.eu.org> 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




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