Re: initrd redesign (was Re: Partition nightmare Was: Migrating to la

Kai Henningsen (kaih@khms.westfalen.de)
14 Jun 1999 22:24:00 +0200


hpa@transmeta.com (H. Peter Anvin) wrote on 14.06.99 in <3764D267.D50F125A@transmeta.com>:

> 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/