public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Is anyone using the load_ramdisk= option in the kernel still?
@ 2004-10-26  3:48 H. Peter Anvin
  2004-10-26 13:19 ` Jesper Juhl
  2004-10-26 14:03 ` Alessandro Amici
  0 siblings, 2 replies; 5+ messages in thread
From: H. Peter Anvin @ 2004-10-26  3:48 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-10-26 14:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-26  3:48 Is anyone using the load_ramdisk= option in the kernel still? H. Peter Anvin
2004-10-26 13:19 ` Jesper Juhl
2004-10-26 14:03 ` Alessandro Amici
2004-10-26 14:09   ` Matthew Garrett
2004-10-26 14:41     ` Alessandro Amici

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox