Skip to content

Instantly share code, notes, and snippets.

@dr-dimitru
Created November 26, 2013 22:43
Show Gist options
  • Save dr-dimitru/7667644 to your computer and use it in GitHub Desktop.
Save dr-dimitru/7667644 to your computer and use it in GitHub Desktop.
Simple Terminal command to mount RAM Disk on Mac OS X
#!/bin/sh
diskutil erasevolume HFS+ 'RAM Disk' `hdiutil attach -nomount ram://8388608`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment