title: way to open and load a file in memory
body: <p>Is there a way such that I can open and load a file directly in memory?
  I have lot of legacy code that opens a file present on network, and then does
  seeks and reads from this file. I want to avoid the reads and seeks over the network.
  Hence, if I could load the file in memory, when I open it, I could have efficient seeks.
  Any ideas?
  I'm working wtih C on Linux.</p>