From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel@vger.kernel.org
Subject: Re: 2.6 early userspace init
Date: 13 Nov 2003 13:32:34 -0800 [thread overview]
Message-ID: <bp0t9i$ta3$1@cesium.transmeta.com> (raw)
In-Reply-To: 1068655518.14435.37.camel@camp4.serpentine.com
Followup to: <1068655518.14435.37.camel@camp4.serpentine.com>
By author: "Bryan O'Sullivan" <bos@serpentine.com>
In newsgroup: linux.dev.kernel
>
> On Wed, 2003-11-12 at 03:50, Michael Schroeder wrote:
>
> > how about adding something like this to init/do_mounts.c?
>
> It's not a bad idea, but surely you should be using the init= boot
> parameter instead of hard-coding a path.
>
> In any case, I don't think you should expect a patch to be accepted.
> There's not much point in further crufting up do_mounts.c in generic
> kernels during 2.6, until do_mounts moves completely out of the kernel.
> Some people are happy enough with root=0:0, so there's not obviously a
> consensus about which stopgap measure will do for now.
>
I think it's useful to maintain bass-ackwards compatibility with
root=, especially since if any hack is put it now, it creates new
legacy.
Looking for init, or linuxrc, inside the initramfs makes sense. It
should *NOT* be tied to the init= option, though... consider when all
of this is pulled out of kernel space; you don't want "init=" to break
finding your RAID volumes when you're trying to find a different
"real" init binary.
Having a kinit= option (or earlyinit= or whatever, kinit seems to be
the term we have been using) would be another matter, of course.
-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
If you send me mail in HTML format I will assume it's spam.
"Unix gives you enough rope to shoot yourself in the foot."
Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64
next prev parent reply other threads:[~2003-11-13 21:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-12 11:50 2.6 early userspace init Michael Schroeder
2003-11-12 16:45 ` Bryan O'Sullivan
2003-11-12 16:53 ` Michael Schroeder
2003-11-13 21:32 ` H. Peter Anvin [this message]
2003-11-14 16:39 ` Michael Schroeder
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='bp0t9i$ta3$1@cesium.transmeta.com' \
--to=hpa@zytor.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.