March 19, 2016
You can create and mount a ram based disk as follows: Create a disk: $ hdiutil attach -nomount ram://$((2 * 1024 * SIZE_IN_MB)) hdiutil will return the name of the ramdisk. Format and mount the disk diskutil eraseVolume HFS+ RAMDisk NAME_OF_DISK Creating a 100MB ramdisk: $ hdiutil attach -nomount ram://$((2 * 1024 * 100)) /dev/disk3 […]
posted in Mac OS X, System Administrator by nico