Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Size of RAM disk desired(MB) * 2048 = amount to specify
- #Using the above example, that would be:
- #eg 2GB 2048 * 2048 = 4194304
- diskutil erasevolume HFS+ 'RAMDisk' `hdiutil attach -nomount ram://524288` # 0.5GB
- diskutil erasevolume HFS+ 'RAMDisk' `hdiutil attach -nomount ram://4194304` # 2GB
- diskutil erasevolume HFS+ 'RAMDisk' `hdiutil attach -nomount ram://8388608` # 4GB
- diskutil erasevolume HFS+ 'RAMDisk' `hdiutil attach -nomount ram://12582912` # 6GB
Add Comment
Please, Sign In to add comment