Memory-backed file allows application to treat file as if it were primary memory.
I am wondering if there is a similar mechanism in Linux which allows me to access a range of memory as if it were a file, i.e, through file path and read() write() system calls.
If it matters, I want to run Android emulator with system.img and userdata.img in memory to speed it up. So if anyone could tell me how to tell android-qemu to mount to a different (in-memory) partition, that would work too.
Thanks
You want tmpfs
http://www.kernel.org/doc/Documentation/filesystems/tmpfs.txt