[klibc] Early-userspace and swapping

Bryan O'Sullivan bos at serpentine.com
Sun Nov 30 12:06:23 PST 2003


On Sun, 2003-11-30 at 09:20, John Zielinski wrote:

> I found some lkml messages on using using tmpfs for rootfs from about 
> two years ago but nothing recent.  Do you know if anyone else tried this 
> before?

No, but I'd expect it to work OK.

>   I figure that with all these subsystems being planned to be put 
> in initramfs it might me a good idea to have that memory swapped out 
> since I've seen a lot of embedded systems with little ram but lots of HD 
> space.

Actually, I wouldn't expect that to be necessary.  The most likely use
of initramfs is to have just enough contents to make it possible to boot
into a more normal userspace; we're not talking about more than a few
hundred Kbytes.  The main things that belong there from a functionality
standpoint are udev, dm, and kinit, and they don't amount to much.

	<b



More information about the klibc mailing list