public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Al Boldi <a1426z@gawab.com>
Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org
Subject: Re: [PATCH] init: Introduce rootdir bootparm to select which dir to sys_chroot
Date: Tue, 06 Nov 2007 13:25:21 -0800	[thread overview]
Message-ID: <4730DBC1.5030009@zytor.com> (raw)
In-Reply-To: <200711080013.20702.a1426z@gawab.com>

Al Boldi wrote:
> H. Peter Anvin wrote:
>> Al Boldi wrote:
>>> Al Boldi wrote:
>>>> This patch introduces a rootdir kernel boot parameter, which specifies
>>>> the path to the kernel sys_chroot boot dir.
>>>>
>>>> This is useful for systems that have more than one distribution
>>>> installed on the same fs/partition.
>> This seems like something that should be done via an initramfs.
> 
> Agreed. But, not everybody boots their systems via initramfs, and even if 
> they did, they also have to know how to reconfigure it.
> 
> In contrast, this patch offers the rootdir functionality as a simple bootparm 
> and without any extra initramfs dependency.
> 

And yet another hack in the kernel!

Instead of heaping hack du jour into the kernel, write a small initramfs 
that provides the appropriate functionality, please.

	-hpa

  reply	other threads:[~2007-11-06 21:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-06 10:40 [PATCH] init: Introduce rootdir bootparm to select which dir to sys_chroot Al Boldi
2007-11-07 20:10 ` Al Boldi
2007-11-06 20:13   ` H. Peter Anvin
2007-11-07 21:13     ` Al Boldi
2007-11-06 21:25       ` H. Peter Anvin [this message]
2007-11-09  4:36 ` Andrew Morton
2007-11-09  4:57   ` 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=4730DBC1.5030009@zytor.com \
    --to=hpa@zytor.com \
    --cc=a1426z@gawab.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox