Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
XCode Ram Disked
rm -rf /Volumes/ramdisk
if [[ $(mount | awk '$3 == "/Volumes/ramdisk" {print $3}') != "" ]]; then
echo /Volumes/ramdisk is mounted
diskutil erasevolume HFS+ "ramdisk" `hdiutil attach -nomount ram://8475854`
open -a Xcode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.