From owner-freebsd-questions Thu Feb 20 22:39:28 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 186D437B401 for ; Thu, 20 Feb 2003 22:39:27 -0800 (PST) Received: from post-20.mail.nl.demon.net (post-20.mail.nl.demon.net [194.159.73.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D59743F3F for ; Thu, 20 Feb 2003 22:39:26 -0800 (PST) (envelope-from cls@raggedclown.net) Received: from [212.238.197.102] (helo=mailhost.raggedclown.net) by post-20.mail.nl.demon.net with esmtp (Exim 3.36 #1) id 18m6qD-0001E1-00 for freebsd-questions@FreeBSD.ORG; Fri, 21 Feb 2003 06:39:25 +0000 Received: from localhost (localhost [127.0.0.1]) by mailhost.raggedclown.net (Ragged Clown Mail Gateway [dawn]) with ESMTP id AE145C6B1 for ; Fri, 21 Feb 2003 07:39:23 +0100 (CET) Received: from willow.raggedclown.net (willow.raggedclown.intra [192.168.1.10]) by mailhost.raggedclown.net (Ragged Clown Mail Gateway [dawn]) with ESMTP id DDBECE7A for ; Fri, 21 Feb 2003 07:39:13 +0100 (CET) Received: by willow.raggedclown.net (Ragged Clown Host [willow], from userid 1009) id 9883D225C2; Fri, 21 Feb 2003 07:39:14 +0100 (CET) Date: Fri, 21 Feb 2003 07:39:14 +0100 From: Cliff Sarginson To: freebsd-questions@FreeBSD.ORG Subject: Re: installkernel first? Message-ID: <20030221063914.GD96171@raggedclown.net> References: <1045718989.3e5467cdd1dee@webmail.adam.com.au> <20030220153710.GA19633@fif.office.inext.hu> <1045807067.3e55bfdbd5f75@webmail.adam.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1045807067.3e55bfdbd5f75@webmail.adam.com.au> User-Agent: Mutt/1.5.3i X-Virus-Scanned: by AMaViS 0.3.12pre8 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Feb 21, 2003 at 04:27:47PM +1030, bastill@adam.com.au wrote: > Quoting Peter Hollaubek : > Not being familiar with sh (and not thinking too well either) I assumed that > "make buildkernel # make installkernel" was two linked commands on the one line, > wheras it should have been read as: > # make buildkernel > # make installkernel > with the # simply indicating root prompt (Thanks, Sue). > Yes, well # is the root prompt :). But it is also the start of a shell comment ;). make buildkernel && make installkernel Means if and only if "make buildkernel" succeeds then do a "make installkernel" It is to do with the status a program terminates with (the exit status). In practise doing a "make kernel" is ok as well, since that will build and install it only if the build works, so achieving the same end. > All-in-all there was actually nothing wrong (except my ignorance ) > Naahh..ignorance is me never having learnt how to bang a nail straight into a piece of wood. I do recommend you study up a bit on the shell though. Indenspensible knowledge I am afraid. -- Regards Cliff Sarginson The Netherlands [ This mail has been checked as virus-free ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message