Jeremy Huntwork wrote:

Right. I didn't mean to imply that I was copying anything ;) just that we would be free to wipe the initramfs (though I realize that you'd still have the compressed initramfs image in memory - this would be just getting rid of the unpacked items) which at least buys us back *some* memory.

IIRC, the kernel does not keep the compressed initramfs image in memory, but unpacks it into initramfs at load time. Everything I have read so far has said that the unpacked items sitting in memory are never reclaimed, although I don't know specifically what would happen if you deleted them. Keep in mind, though, that any program that wants to delete them has to do it _before_ the root filesystem is mounted; once that happens the initramfs is no longer visible anywhere (except as remnants in /proc/mounts) and nothing can be deleted from it.
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to