[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47D05CA0.9080305@zytor.com>
Date: Thu, 06 Mar 2008 13:05:36 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: Ingo Molnar <mingo@...e.hu>
CC: Pawel Plociennik <paplociennik@...il.com>,
Pavel Machek <pavel@....cz>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2.6.24] chroot= as a new kernel parameter
Ingo Molnar wrote:
> * H. Peter Anvin <hpa@...or.com> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists