How to create a RAM disk on OS X
$ hdid -nomount ram://32768 /dev/disk1 $ newfs_hfs /dev/disk1 $ mkdir /tmp/ramdisk1 $ mount -t hfs /dev/disk1 /tmp/ramdisk1
To unmount:
hdiutil detach /dev/disk1
11381 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
$ hdid -nomount ram://32768 /dev/disk1 $ newfs_hfs /dev/disk1 $ mkdir /tmp/ramdisk1 $ mount -t hfs /dev/disk1 /tmp/ramdisk1
hdiutil detach /dev/disk1