LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@elte.hu>,
Pawel Plociennik <paplociennik@gmail.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2.6.24] chroot= as a new kernel parameter
Date: Thu, 6 Mar 2008 22:20:28 +0100 [thread overview]
Message-ID: <20080306212028.GB1747@elf.ucw.cz> (raw)
In-Reply-To: <47D00B16.6040004@zytor.com>
On Thu 2008-03-06 07:17:42, H. Peter Anvin wrote:
> Ingo Molnar wrote:
>> * H. Peter Anvin <hpa@zytor.com> wrote:
>>
>>> Pawel Plociennik wrote:
>>>> Hi Andrew and other *real* hackers,
>>>>
>>>> I have sent a *last* version of a patch which it has added a new kernel parameter chroot=
>>>> It were discusioned a *long time* on a lkml so I hope that it will has been applied.
>>> It has been discussed and *rejected* a large number of times.
>>>
>>> This is completely useless bloat.
>>
>> why is it useless? Would it be more acceptable were it made dependent on a
>> .config option?
>>
>
> It's useless because it's exactly and trivially replaceable with:
>
> init=/path/to/any/sbin/chroot /newroot /sbin/init
No, that will not work, if you don't have libraries at /. This should
be exact replacement:
init=/working_distro/lib/ld-linux.so.2 --library-path /working_distro/lib /working_distro/usr/sbin/chroot /working_distro/ /sbin/init
...assuming your chroot uses ld-linux.so.2. I believe above is ugly
enough to warrant merge of chroot= option.
...heck, how many tries would it take to get that right? Is chroot
/usr/sbin or /sbin?
This really should be in kernel, I should not have to partition my
disk to get booting to few different distros.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2008-03-06 21:20 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-06 5:01 Pawel Plociennik
2008-03-06 4:58 ` H. Peter Anvin
2008-03-06 10:27 ` Ingo Molnar
2008-03-06 15:17 ` H. Peter Anvin
2008-03-06 20:57 ` Ingo Molnar
2008-03-06 21:05 ` H. Peter Anvin
2008-03-06 21:20 ` Pavel Machek [this message]
2008-03-06 21:30 ` H. Peter Anvin
2008-03-06 22:05 ` Matthias Schniedermeyer
2008-03-07 10:36 ` Bernd Petrovitsch
2008-03-07 12:28 ` H. Peter Anvin
2008-03-06 21:42 ` Ingo Molnar
2008-03-06 21:50 ` H. Peter Anvin
2008-03-06 22:22 ` Ingo Molnar
2008-03-07 4:53 ` Greg Schafer
2008-03-07 9:27 ` Måns Rullgård
2008-03-06 16:54 ` Pawel Plociennik
2008-03-06 15:47 ` Pawel Plociennik
2008-03-06 10:34 ` Chris Wedgwood
2008-03-06 10:44 ` Ingo Molnar
2008-03-06 11:22 ` Chris Wedgwood
2008-03-06 11:37 ` Ingo Molnar
2008-03-06 11:53 ` Pavel Machek
2008-03-06 19:46 ` Peter Zijlstra
2008-03-06 20:57 ` Willy Tarreau
2008-03-07 8:23 ` Chris Wedgwood
2008-03-07 21:04 devzero
2008-03-07 22:32 ` Christian Kujau
2008-03-08 14:10 Al Boldi
2008-03-08 14:28 ` Christian Kujau
2008-03-08 16:34 ` Al Boldi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080306212028.GB1747@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=paplociennik@gmail.com \
--subject='Re: [PATCH 2.6.24] chroot= as a new kernel parameter' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).