Last active
October 2, 2018 23:16
-
-
Save subfission/c08590182c35e440559f25a9c545dd36 to your computer and use it in GitHub Desktop.
Load a temporary drive from extra RAM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| echo "This is only for MACOS" | |
| echo "Creating 1GB RAM disk volume> RAMDisk" | |
| diskutil erasevolume HFS+ 'RAMDisk' `hdiutil attach -nomount ram://2048000` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment