Re: patch for Documentation/initrd.txt?

From: H. Peter Anvin
Date: Thu Jul 27 2006 - 16:36:34 EST


Al Boldi wrote:
H. Peter Anvin wrote:
Al Boldi wrote:
Thanks for your very useful docPatch!

OT, but your docPatch made me think of another way to init the kernel;
via tmpfs, i.e. initTmpFS.

Can anybody see how that could be useful?
Useful, yes, but this has turned out to be fairly complex.

Sounds like somebody tried this before?


Several people, yes.

tmpfs needs
a *LOT* more of the system to be fully operational than ramfs, and the
rootfs is initialized very early on, since one of its purposes is to
eliminate special cases.

So would it be possible to remap rootfs from ramfs to tmpfs, once tmpfs is initialized, without actually doing another cpio?

That sounds nasty.

-hpa
-
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/