Skip to content

Instantly share code, notes, and snippets.

@simonpang
Created September 21, 2012 08:54
Show Gist options
  • Save simonpang/3760453 to your computer and use it in GitHub Desktop.
Save simonpang/3760453 to your computer and use it in GitHub Desktop.
Create RAM disk on OS X
diskutil erasevolume HFS+ "ramdisk" `hdiutil attach -nomount ram://2175854`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment