Hi David,

> (2) with a 2.6 you can embed your whole file system into the
> kernel and boot and go just from the kernel -- no file system at all --
> that way you don't have to pivot-root from the initrd -- just stay there.
>
>
> I'm sort of fishing for stories about why that might be a bad idea,
> beyond that 1: it varies from standard practice and 2: the initramfs is
> not backed by swap, as normal shmfs is
>
An added note: Like Martin explained it has to do with system memory.

It is theoretical possible to use the initramfs ramfs as root filesystem,
but it has a big drawback. In the initramfs we create three dynamic tmpfs
(a superset of ramfs) for root, tmp and log with an upper memory limit
set, which can be defined in leaf.cfg.
This means that, when correctly set, that growing files (like logfiles)
can't crash the system if the total size is beyond the physical memory
size of the system, because of the upper limit. This isn't possible with
the simple initramfs fs.

Eric


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to