From: hpa@zytor.com (H. Peter Anvin)
To: linux-kernel@vger.kernel.org
Subject: Is anyone using the load_ramdisk= option in the kernel still?
Date: Tue, 26 Oct 2004 03:48:40 +0000 (UTC) [thread overview]
Message-ID: <clkheo$otl$1@terminus.zytor.com> (raw)
Hi all,
I've come to the conclusion that in order to stay backwards
compatible while moving root-mounting stuff to userspace, in the
initial patch everything in prepare_namespace() and south needs to be
fully supported in userspace. This looks perfectly doable, but is a
fair bit of work.
The one piece of ugliness I've encountered has to do with the
load_ramdisk= option; this causes a ramdisk to be loaded from an
external device, usually a floppy. The ugliness has to do with the
fact that it requires the kernel itself to deduce the size of the
ramdisk, which is filesystem-specific. Although this code is
currently run for initrds as well, it doesn't need to, since the
kernel knows the size of an initrd.
This code isn't complex by any means, but it's ugly and complex, and
I'm trying to make something a bit cleaner than just copying the
existing in-kernel code to userspace.
So, in short:
a) Does anyone use the load_ramdisk= option anymore, or is it
legitimate to drop?
b) If it is necessary to retain, does anyone care if this option would
only support gzip format in the future, i.e. NOT support uncompressed
filesystem images? Since a gzip stream is self-terminating, this
takes care of the problem of finding the end, but adds a sizable chunk
of code to the kinit binary.
-hpa
next reply other threads:[~2004-10-26 3:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-26 3:48 H. Peter Anvin [this message]
2004-10-26 13:19 ` Is anyone using the load_ramdisk= option in the kernel still? Jesper Juhl
2004-10-26 14:03 ` Alessandro Amici
2004-10-26 14:09 ` Matthew Garrett
2004-10-26 14:41 ` Alessandro Amici
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='clkheo$otl$1@terminus.zytor.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox