[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <187865500@web.de>
Date: Fri, 07 Mar 2008 22:04:20 +0100
From: devzero@....de
To: ingo@...e.hu
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2.6.24] chroot= as a new kernel parameter
>* 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.
>
> Ingo
wouldn`t it be useful to add a hint to kernel-parameters.txt ?
for now it just reads:
init= [KNL]
Format: <full_path>
Run specified binary instead of /sbin/init as init
process.
so, if there is no hint about that specialty (i.e. passing params to init, using for chroot etc..), no user will ever now.....
roland
_____________________________________________________________________
Unbegrenzter Speicherplatz für Ihr E-Mail Postfach? Jetzt aktivieren!
http://freemail.web.de/club/landingpage.htm/?mc=025555
--
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