From: David Cinege <dcinege@psychosis.com>
To: Alexander Viro <viro@math.psu.edu>
Cc: linux-kernel@vger.kernel.org, LRP <linux-router@linuxrouter.org>,
LRPD <linux-router-devel@linuxrouter.org>
Subject: Re: [PATCH] Initrd Dynamic v4.2 - New Feature: Tmpfs root support
Date: Sun, 23 Sep 2001 03:03:59 -0400 [thread overview]
Message-ID: <E15l3IH-0005Tu-00@schizo.psychosis.com> (raw)
In-Reply-To: <Pine.GSO.4.21.0109230036450.13262-100000@weyl.math.psu.edu>
In-Reply-To: <Pine.GSO.4.21.0109230036450.13262-100000@weyl.math.psu.edu>
On Sunday 23 September 2001 0:41, Alexander Viro wrote:
> >
> > Please consider it for inclusion in the next 2.4 kernel release.
>
> Sigh... With initramfs it can be done in userland.
Using Initrd Dynamic a person can boot with a ramdisk as their primary
root, populating it with tar.gz archive(s). Making 'image' changes works
very well and in a modular way. (IE root.tgz, etc.tgz)
With this release you can now forgo an internal mkfs on /dev/ram0 before
archive extraction and go straight to a truly dynamic tmpfs VFS as the root
without the minix FS limitations.
Now, could you please explain to me how the hell you boot to a tmpfs
root from userland!?!? This feature *creates* your userland.
Maybe you're just confused what this feature does. Maybe you've never
worked with systems that run a volatile root. Maybe you've just never made
a boot disk.
Maybe you even think it's sane to compile userland into the kernel? <snicker
snicker> I just looked at your initramfs. From what I see it's the same
scheme I used to use In the Linux Router Project before I wrote
initrd-archive. Except I did it *entirely* in userland back in 1997. It
sucked. Badly.
> _Please_, let's stop
> adding complexity to already ridiculously bloated late boot stages.
It's funny you've refered to my patch as bloated. What you've wrote (which is
a limited solution) weighs in at ~122k. Initrd Dynamic is ~35K complete and
that includes ~7K of mkfs_minix, which can be removed when use Linux 2.4 with
tmpfs (and ~2K of Configure.help : > ). Compiled up it add only ~3K to the
kernel size, and as for boot complexity, I agree lets reduce it. Leave it
up to the bootloader to populate initrd memory space, or let a specific
driver tie the initrd file handle to a device to load from. Initrd Dynamic
is made to work this way and is (should be) entirely platform independant
code.
One day I hope someone finally implements loading kernel modules from
'initrd' type memory space, again leaving the job of getting them their to
the boot loader. (Actually it's called the multi boot standard and GRUB boot
loader has supported it for 3(?) years.)
> David, no offence, but let's do it the right way.
It is done right. Infact, I'm proud that this release finally has implemented
it to perfection for the purposes it was designed. It took 3 years
to get to this point of a completly dynamic, modular, ram based root.
It never fails, post a patch to kernel and they come out of the wood work
with delusional bitching. This is one reason I sat on releases for 9 months.
BTW Offence intended...
Dave
next prev parent reply other threads:[~2001-09-23 7:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-23 4:22 David Cinege
2001-09-23 4:41 ` Alexander Viro
2001-09-23 7:03 ` David Cinege [this message]
2001-09-23 8:43 ` Alexander Viro
2001-09-23 17:55 ` Jeff Garzik
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=E15l3IH-0005Tu-00@schizo.psychosis.com \
--to=dcinege@psychosis.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-router-devel@linuxrouter.org \
--cc=linux-router@linuxrouter.org \
--cc=viro@math.psu.edu \
/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
all inboxes | Powered by JetHome®