Ramdisk

How to Create a Ramdisk or Ramdrive in

Linux#

In Ubuntu, there's already one created by default. It's located in

/dev/shm

and grows dynamically.

Mac#

This will create a 550M ramdrive in /Volumes/ramdisk:

$ diskutil erasevolume HFS+ "ramdisk" `hdiutil attach -nomount ram://1165430`

To unmount, eject from Finder.


Linux - Mac - Fixme - Performance