Re: [PATCH 2.6.24] chroot= as a new kernel parameter

From: Ingo Molnar
Date: Thu Mar 06 2008 - 15:58:12 EST



* H. Peter Anvin <hpa@xxxxxxxxx> wrote:

> It's useless because it's exactly and trivially replaceable with:
>
> init=/path/to/any/sbin/chroot /newroot /sbin/init

ok, i didnt realize that this was possible. Ah ... i see,
init/main.c:init_setup() is special and picks the whole boot parameter
string up to the end, right? So init= is the only multi-parameter
init-parameter.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/