From owner-freebsd-arch@FreeBSD.ORG Fri Jun 6 00:52:10 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 91F0737B401 for ; Fri, 6 Jun 2003 00:52:10 -0700 (PDT) Received: from puffin.mail.pas.earthlink.net (puffin.mail.pas.earthlink.net [207.217.120.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 112F043F85 for ; Fri, 6 Jun 2003 00:52:10 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-38lc0sj.dialup.mindspring.com ([209.86.3.147] helo=mindspring.com) by puffin.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19OC15-0002p4-00; Fri, 06 Jun 2003 00:52:03 -0700 Message-ID: <3EE047DA.850261F0@mindspring.com> Date: Fri, 06 Jun 2003 00:50:50 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Peter Wemm References: <20030606063105.D3B442A8C1@canning.wemm.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4bdb2088eb72a59f3be7bfb38bb357ad13ca473d225a0f487350badd9bab72f9c350badd9bab72f9c cc: arch@freebsd.org cc: "Matthew D. Fuller" 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 07:52:10 -0000 Peter Wemm wrote: > "Matthew D. Fuller" wrote: > > 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 The /rescue, to my mind, is just a gratuitous renaming of /stand. It also fails to make the dynamic linking argument strongly enough, IMO. That's why I'm trying to avoid invoking the "and then a statically linked miracle happens"... 8-). -- Terry