From owner-freebsd-stable Wed Jul 24 6:30:38 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2340737B400 for ; Wed, 24 Jul 2002 06:30:34 -0700 (PDT) Received: from tp.databus.com (p70-227.acedsl.com [66.114.70.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63DE243E3B for ; Wed, 24 Jul 2002 06:30:33 -0700 (PDT) (envelope-from barney@databus.com) Received: from databus.com (localhost.databus.com [127.0.0.1]) by tp.databus.com (8.12.5/8.12.5) with ESMTP id g6ODUAvG051888; Wed, 24 Jul 2002 09:30:10 -0400 (EDT) (envelope-from barney@databus.com) Received: (from barney@localhost) by databus.com (8.12.5/8.12.5/Submit) id g6ODUAda051887; Wed, 24 Jul 2002 09:30:10 -0400 (EDT) Date: Wed, 24 Jul 2002 09:30:10 -0400 From: Barney Wolff To: Jamie Bowden Cc: Jonathan Chen , Barney Wolff , "Brian T. Schellenberger" , freebsd-stable@FreeBSD.ORG Subject: Re: make world considered harmful Message-ID: <20020724133010.GA51775@tp.databus.com> References: <20020724073743.GB50488@grimoire.chen.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The point, which seems to be difficult to grasp, is that the make buildworld && make installworld sequence is usually not the right thing to do. By forcing people to actually type it that way I'd hope to induce a moment's thought before hitting Enter. On Wed, Jul 24, 2002 at 04:01:42AM -0700, Jamie Bowden wrote: > On Wed, 24 Jul 2002, Jonathan Chen wrote: > > :On Tue, Jul 23, 2002 at 03:49:04AM -0700, Jamie Bowden wrote: > :> On Mon, 22 Jul 2002, Barney Wolff wrote: > > :> :But there's nothing right with it, either. Is the demonstrated risk > :> :of people using it inappropriately really worth not having to type > :> : make buildworld && make installworld > :> :in the few cases where it's safe? I claim not. > > :> # $FreeBSD: src/Makefile,v 1.234.2.14 2002/07/16 18:36:19 ru Exp $ > :> # > :> # The user-driven targets are: > :> # > :> # buildworld - Rebuild *everything*, including glue to help do > :> # upgrades. > :> # installworld - Install everything built by "buildworld". > :> # world - buildworld + installworld. > :> > :> Perhaps I'm missing something, but 'make world' appears to do nothing more > :> than you've done above in fewer keystrokes. > : > :Except for the fact that if the new kernel doesn't like your system, > :you're SOL with out-of-sync userland. > > And this is different than 'make buildworld && make installworld' in what > way exactly? If the inline Makefile documentation is correct, which I've > assumed it is, then there is no functional difference. > > Jamie Bowden > > -- > "It was half way to Rivendell when the drugs began to take hold" > Hunter S Tolkien "Fear and Loathing in Barad Dur" > Iain Bowen > -- Barney Wolff I never met a computer I didn't like. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message