Initramfs and TMPFS!

From: Kent Robotti
Date: Fri Aug 26 2005 - 01:01:42 EST


>I'm not subscribed, so sorry if this doesn't fall into the original
>thread. I'm curious as to why the kernel has to include the decoder -
>why you can't just run a self-extracting executable in an empty
>initramfs (with a preset capacity if needs be).

The kernel already includes gunzip for itself, so it just needs an
unarchiver (tar or cpio) which should just add a few Kb.

Every self-extracting executable would require the builtin code
to extract itself.

The kernel code to recognize and execute the self-extracting code,
would probably be the same size as an unarchiver (tar or cpio).

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/