> In the final system we are going to turn off swap. I had dreamed that Linux
> could directly use the page frame on the RAM disk instead of doing another
> copy :-)
Both ramfs and tmpfs do what you're asking for. If you are booting
from an initial ramdisk, it's possible to copy the contents of your
ramdisk into a ramfs or tmpfs filesystem at boot time, change roots
with the pivot_root utility, and then throw away the ramdisk. See
Documentation/initrd.txt for more information on this.
Scott
-- Scott Murray SOMA Networks, Inc. Toronto, Ontario e-mail: scottm@somanetworks.com
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/