Re: linuxppc-embedded: main kernel tree
From: Jeremy Fitzhardinge <hidden>
Date: 2000-01-27 01:53:50
On 27-Jan-00 Graham Stoney wrote:
Alan Mimms writes:quoted
In fact, I'm very interested in the new cramfs I have read about as a solution for our flash based file system.cramfs sure looks interesting as an alternative to an initrd uncompressed ramdisk or romfs. A question for the knowledgeable about memory usage efficiency of Linux's regular ramdisk though: does the kernel share read-only program text space directly with the binary image data in the ramdisk, or does it copy the data from the ramdisk when it execs a program?
I've done an alternative called "zbd" (compressed block/boot device). We use
it for our flash images. Its essentially the same as a ramdisk/initrd, but
each block is individually compressed. We leave the image in flash and mount
the root filesystem (ext2) from it. The implementation is almost identical to
the ramdisk code, and they could be folded together: I just haven't done that
yet.
J
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/