From owner-freebsd-questions Wed Nov 27 3:45:29 2002 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 11F9337B401 for ; Wed, 27 Nov 2002 03:45:28 -0800 (PST) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 290EB43EA9 for ; Wed, 27 Nov 2002 03:45:27 -0800 (PST) (envelope-from rehsack@liwing.de) Received: (qmail 41481 invoked from network); 27 Nov 2002 11:45:23 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 27 Nov 2002 11:45:23 -0000 Message-ID: <3DE4AFD6.7060302@liwing.de> Date: Wed, 27 Nov 2002 12:43:18 +0100 From: Jens Rehsack Organization: LiWing IT-Services User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dslb@tiscali.dk Cc: questions@freebsd.org Subject: Re: Building kernels References: <3D9FE7F600007410@cpfe5.be.tisc.dk> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit 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 dslb@tiscali.dk wrote: > Hi all > > I was reading about building kernels and found that there are two ways (maybe > more?): > 1. The old way!?! where you > cd /sys/i386/conf > config KERNEL > cd ../../compile/KERNEL > make depend > make > Now the kernel is in that dir. > > 2. The new way!?! > cd /usr/src > make buildkernel KERNCONF=KERNEL > Now the kernel is in /usr/obj/usr/src/sys/KERNEL > > Why is the kernel being build in different places? Because all compiled output is in /usr/obj then. You can protect /usr to disallow any changes and mount (or use different flags) /usr/obj seperately. This allows you to build in multiuser mode and only the install must be done in single user mode. > Which way will be the way "of the future"? The new way :-) > Why the difference? > do you have the same options no matter which one you use? The kernel configuration keeps the same. What other options do you mean? Bye, Jens -- L i W W W i Jens Rehsack L W W W L i W W W W i nnn gggg LiWing IT-Services L i W W W W i n n g g LLLL i W W i n n g g Friesenstraße 2 gggg 06112 Halle g g g Tel.: +49 - 3 45 - 5 17 05 91 ggg e-Mail: Fax: +49 - 3 45 - 5 17 05 92 http://www.liwing.de/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message