Skip to content

Instantly share code, notes, and snippets.

@camsaul
Created September 24, 2014 20:13
Show Gist options
  • Save camsaul/ab9ff27bf178ac9f780e to your computer and use it in GitHub Desktop.
Save camsaul/ab9ff27bf178ac9f780e to your computer and use it in GitHub Desktop.
Mount a Ramdisk in OS X
#! /bin/bash
diskutil erasevolume HFS+ "ramdisk" `hdiutil attach -nomount ram://16951708` # max size ~= 8.68 GB (how ?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment