[SSI-devel] Re: init/main.c changes
Brought to you by:
brucewalker,
rogertsang
From: John B. <joh...@hp...> - 2004-05-25 16:28:46
|
Aneesh Kumar K.V wrote: > Hi, > > Debian expects the kernel to start /sbin/init ( which is placed in the > ramdisk as a script that does all the work that /linuxrc is expected to > do ). Looking at changes in init/main.c OpenSSI kernel doesn't do this. > Is there a reason to deviate from the mainline behavior here ? > > For more information distro-pkgs/debian/initrd-tools/linuxrc and > distro-pkgs/debian/initrd-tools/init > > -aneesh > I'm confused. What "mainline" behavior are we deviating from in running /linuxrc? The vanilla 2.4.25 kernel I'm looking at expects to run /linuxrc in an initrd. (see handle_initrd() in do_mounts.c) We run it from a different place than handle_initrd() and in that place the kernel expects to run "/sbin/init", but then the kernel expects to be running a real root filesystem there. John |