Natanael Copa wrote: > Erich Titl wrote: > > >>Eric .. >> >> > > > Are you really sure about that? I am not really familiar with how the > tmpfs or ramfs works, but to me sounds logical that when you execute > something on a tmpfs dist, the memory is never copied from ramdisk to > RAM, because it is already in ram. It should be possible to run it from > 1 single copy in RAM.
If this is true, then the entire idea is wrong. I doubt though, because the program loader does more than just make a copy of the executable. It needs to dynamically link to libraries, e.t.c. I am not sure it meddles with the intricacies of a file system. > > But if you run it from a mounted loopdevice in ram, the code needs to be > uncompressed and then executed. That means you will need a copy of the > compressed code and one copy of the uncompressed. True, but see above, maybe someone can shed a light on this. One thing is sure, if you compress the binary it needs to be uncompressed before execution. > ... > > You will save RAM when mounting a cramfs image on cdrom or mount a disk, > but the difference is maybe not so big as you might think. This may defeat the read-only methods implemented by disabling ide drivers. cheers Erich ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel