> Werner Almesberger wrote:
> > The next step would then be to let init exit to another init. I'm not
> > sure if "exec" covers all cases, so I'd be more inclined to do all
> > this in an exec-init loop, with the possibility to change the name of
> > init (a la init=... from the boot command line) via /proc.
>
> exec() init works just fine. I have used it. I don't think there is
> any need to put that in kernel space.
In fact, I believe that happens when init gets upgraded on a Debian system
- the old version exec()s the new version.
Hmm. Don't see it in the pre/postinst scripts. But it's definitely in the
manpage (telinit u).
MfG Kai
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/