Re: [RFC][Patch] Allow not mounting a root fs

From: H. Peter Anvin
Date: Sat Jul 07 2007 - 17:17:46 EST


Jan Engelhardt wrote:
> On Jul 7 2007 13:56, H. Peter Anvin wrote:
>> Jan Engelhardt wrote:
>>> On Jul 5 2007 19:08, H. Peter Anvin wrote:
>>>>> BTW: Is it possible to mount a tmpfs on / before extracting the cpio?
>>>> Not in the stock kernel. There have been some patches floating around
>>>> for that, I think.
>>> What would it buy? rootfs is a tmpfs, is not it?
>> No, rootfs is ramfs.
>
> Thanks for clarifying. Well, why is it a ramfs, and not tmpfs?
> (I think I know the difference, but the question stands.
> A system without any swap somewhat equals a ramfs, or?)

It gets initialized very early, and a lot of the setup needed for tmpfs
to work isn't ready yet.

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