Subject: Re: RFC: migration to a fully dynamically linked system
To: Simon J. Gerraty <email@example.com>
From: Luke Mewburn <firstname.lastname@example.org>
Date: 08/23/2002 10:06:10
On Thu, Aug 22, 2002 at 02:04:30PM -0700, Simon J. Gerraty wrote:
| >If we take this one step further and make /sbin/init dynamic as well,
| >we need do some or all of the following:
| > - Make a link from /rescue/init to /sbin/init.bak
| Why not simply add /rescue/init to the paths the kernel will try?
I had also considered that, and you're the second person I've seen
suggest it independantly. Seems reasonable to me. That, and printing
each name after the first ("/sbin/init") that it's trying to load in
the non DEBUG case.
Doing that, plus changing init(8) to support asking for the path to
init if RB_ASKNAME is set (i.e, "boot -a" on i386 and other platforms)
should help as well. (I put a PR in recently asking for the latter).