Embedding rootfs with kernel
I was also looking at initramfs but from documentation I found it, appears to expand the cpio.gz into a tmpfs (i.e. RAM) before using it.
Since the cpio.gz is embedded into the kernel (i.e. RAM again), won't this take twice the memory relative to embedding a cramfs/squashfs directly in the kernel?
We only need read-only access and I believe these file systems can be read in their compressed form without expanding and consuming more RAM.
Marc
Quoted 8 lines · Domen Puncer
Quoted 1 line · Marc St-Jean
What is the MIPS-way of embedding the rootfs with the kernel?
For 2.6.x (on all? architectures) initramfs.
Domen