Subject: Re: Tests of mdsetimage -s
To: Brian Rose <email@example.com>
From: Marcin Jessa <firstname.lastname@example.org>
Date: 04/02/2005 11:04:27
On Fri, 01 Apr 2005 21:32:56 -0500
Brian Rose <email@example.com> wrote:
> It looks like init is running (the YazzY is the printf, I assume?).
Yes, I created it just to see if the ramdisk in the kernel gets initialized and if init gets at all executed.
It seems it does. It does not really metter if it produces an error. I just needed to test if the kernel can find it and if the ramdisk gets loaded.
> I have an article that discusses changing init so that it simply drops to
> the single user shell. Look at init's SMALLPROG constant, which controls
> this behavior. I found it easier to do this than to create a custom init.
> Basically, with smallprog defined, init will simply invoke /bin/sh after it
> is done working its magic.
I tried to compile init as described in these articled but with no luck. It never gets initialized...
# cd /usr/src/sbin/init ; make -D SMALLPROG