Subject: kern/18027: RB_ASKNAME should prompt for path to init(8)
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 08/22/2002 10:59:09
>Synopsis: RB_ASKNAME should prompt for path to init(8)
>Arrival-Date: Wed Aug 21 18:00:01 PDT 2002
>Originator: Luke Mewburn
>Release: NetBSD 1.6_BETA3
System: NetBSD argo.mewburn.net 1.6_BETA3 NetBSD 1.6_BETA3 (ARGO from GENERIC-$Revision: 1.491 $) #1: Fri Jun 28 08:52:16 EST 2002 email@example.com:/var/scratch/obj.i386/usr/src/sys/arch/i386/compile/ARGO i386
whilst testing a dynamically linked /sbin/init, it occurred to
me that "boot -a" (which sets RB_ASKNAME) could also prompt
for the path to init, so you could answer "/rescue/init" (for
example) in a recovery situation
boot with a borken /sbin/init, and missing or non-functioning
/sbin/init.bak and /sbin/oinit. consider your options...
whip up some code in sys/kern/init_main.c::start_init().
could probably clean up how the loop works as well, but that's
a separate issue, as is adding "/rescue/init" to the list of
names to try.