From owner-freebsd-questions Fri Aug 16 18:37:16 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 4287037B400 for ; Fri, 16 Aug 2002 18:37:13 -0700 (PDT) Received: from spork.pantherdragon.org (spork.pantherdragon.org [206.29.168.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6383143E4A for ; Fri, 16 Aug 2002 18:37:12 -0700 (PDT) (envelope-from dmp@pantherdragon.org) Received: from sparx.pantherdragon.org (evrtwa1-ar10-4-61-252-210.evrtwa1.dsl-verizon.net [4.61.252.210]) by spork.pantherdragon.org (Postfix) with ESMTP id 429AE10074; Fri, 16 Aug 2002 18:37:11 -0700 (PDT) Received: from pantherdragon.org (speck.techno.pagans [172.21.42.2]) by sparx.pantherdragon.org (Postfix) with ESMTP id EB4B1AB39; Fri, 16 Aug 2002 18:22:58 -0700 (PDT) Message-ID: <3D5DA572.2A06A86E@pantherdragon.org> Date: Fri, 16 Aug 2002 18:22:58 -0700 From: Darren Pilgrim X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Mike Hogsett Cc: freebsd-questions@FreeBSD.ORG Subject: Re: When the world doesn't match the kernel, what won't work? References: <200208170015.g7H0F1NL000871@axp.csl.sri.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Mike Hogsett wrote: > > Things like /usr/bin/top which read kernel variables is a good example of > something that is going to break. Shells and simple userland programs that only do stuff like read from standard I/O, manipulate files, and run other simple userland programs won't be effected? > Rather than a new kernel and old world why not do > > cd /usr/src > make buildworld && \ > make buildkernel KERNCONF=mykernelconf && \ > make installworld && \ > make installkernel KERNCONF=mykernelconf && \ > reboot Please read the make world section of the handbook, it's very unsafe to do things this way. You need to test the new kernel before do the installworld. If the kernel isn't working, you can fall back to the old kernel and still have a perfectly good system. If you don't test the kernel, and it doesn't work you wind up with "a very sick" system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message