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

From: H. Peter Anvin
Date: Thu Mar 06 2008 - 16:06:12 EST


Ingo Molnar wrote:
* 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.


Actually, any parameters without = get passed as arguments to init.

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