#!/usr/bin/env bash if [[ $1 == “” ]]; thenmb=409600 # 200 MBelse((mb=2048*$1))fi diskutil erasevolume HFS+ “ramdisk” \hdiutil attach -nomount ram://$mb Comments: Please enable JavaScript to view the comments powered by Disqus.