From owner-freebsd-arch@FreeBSD.ORG Thu Jun 5 23:31:06 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EB3737B401 for ; Thu, 5 Jun 2003 23:31:06 -0700 (PDT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id F12E943FAF for ; Thu, 5 Jun 2003 23:31:05 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id D3B442A8C1; Thu, 5 Jun 2003 23:31:05 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: "Matthew D. Fuller" In-Reply-To: <20030605221114.GB51432@over-yonder.net> Date: Thu, 05 Jun 2003 23:31:05 -0700 From: Peter Wemm Message-Id: <20030606063105.D3B442A8C1@canning.wemm.org> cc: arch@freebsd.org Subject: Re: Making a dynamically-linked root X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2003 06:31:06 -0000 "Matthew D. Fuller" wrote: > On Thu, Jun 05, 2003 at 04:35:56AM -0700 I heard the voice of > Terry Lambert, and lo! it spake thus: > > > > And if init or mount gets hosed? > > Oh, come on. You're smarter than that. > > If a static /sbin/init gets hosed, you're screwed. > If a dynamic /sbin/init gets hosed, you're screwed. > > If /lib/libc gets hosed, your dynamic /sbin/init is screwed. Your static > /sbin/init still moves along just fine. Which is why /rescue/init is on the fallback init path, and can be explicitly entered at the loader prompt. Right now it is: kern.init_path: /sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall And nothing would be stopping somebody from typing this at the loader: set kern.init_path=/rescue/init and at the shell path prompt, /rescue/sh Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5