Date: Thu, 05 Jun 2003 23:31:05 -0700 From: Peter Wemm <peter@wemm.org> To: "Matthew D. Fuller" <fullermd@over-yonder.net> Cc: arch@freebsd.org Subject: Re: Making a dynamically-linked root Message-ID: <20030606063105.D3B442A8C1@canning.wemm.org> In-Reply-To: <20030605221114.GB51432@over-yonder.net>
next in thread | previous in thread | raw e-mail | index | archive | help
"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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030606063105.D3B442A8C1>