Guest User

Untitled

a guest
Jun 18th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. #Size of RAM disk desired(MB) * 2048 = amount to specify
  2. #Using the above example, that would be:
  3. #eg 2GB 2048 * 2048 = 4194304
  4. diskutil erasevolume HFS+ 'RAMDisk' `hdiutil attach -nomount ram://524288` # 0.5GB
  5. diskutil erasevolume HFS+ 'RAMDisk' `hdiutil attach -nomount ram://4194304` # 2GB
  6. diskutil erasevolume HFS+ 'RAMDisk' `hdiutil attach -nomount ram://8388608` # 4GB
  7. diskutil erasevolume HFS+ 'RAMDisk' `hdiutil attach -nomount ram://12582912` # 6GB
Add Comment
Please, Sign In to add comment