*BSD News Article 39814


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!otis.apana.org.au!serval.net.wsu.edu!netnews.nwnet.net!oracle.pnl.gov!osi-east2.es.net!lll-winken.llnl.gov!sol.ctr.columbia.edu!howland.reston.ans.net!cs.utexas.edu!uunet!tcsi.tcs.com!agate!violet.berkeley.edu!jkh
From: jkh@violet.berkeley.edu (Jordan K. Hubbard)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: config deletes directory
Date: 19 Dec 1994 19:37:18 GMT
Organization: University of California, Berkeley
Lines: 26
Message-ID: <3d4nde$l2@agate.berkeley.edu>
References: <D10xM6.G3s@cogsci.ed.ac.uk>
NNTP-Posting-Host: violet.berkeley.edu

In article <D10xM6.G3s@cogsci.ed.ac.uk>,
Richard Tobin <richard@cogsci.ed.ac.uk> wrote:
>Why in FreeBSD 2.0 does config delete the entire ../compile/<name>
>directory?  Eg:
>
>  bash# config SPOTTISVAX
>  Removing old directory ../../compile/SPOTTISVAX
>
>This is *extremely* annoying, since it takes me nearly an hour to rebuild
>on my 386.

It does this now because the dependencies have never been 100% there, so people
were always hanging themselves by config'ing and making in a bogus kernel
directory (assuming they'd even bothered to do a `make depend' the first time
at all).  This admittedly severe fix sort of gets around the problem entirely.

You can compile config with CONFIG_DONT_CLOBBER set and the behaviour
will revert to old, but I suppose that it really should be:

	a) a runtime flag
	b) documented! :)

I'll do this.

					Jordan