Snippets has posted 5883 posts at DZone. View Full User Profile
32768 = size in sectors (16MB in this case, a sector is 512 bytes)
$ hdid -nomount ram://32768
$ newfs_hfs /dev/disk1
$ mkdir /tmp/ramdisk1
$ mount -t hfs /dev/disk1 /tmp/ramdisk1
hdiutil detach /dev/disk1
Discover best practices and the most useful tools for building the ideal integration architecture.
DZone's 170th Refcard is an essential reference to Camel, an open-source, lightweight, integration library. This Refcard is authored by...