How to Create a Ramdisk or Ramdrive in

!!! Linux

In Ubuntu, there's already one created by default.  It's located in

%%prettify 
{{{
/dev/shm
}}}
/%

and grows dynamically.

!!! Mac

This will create a 550M ramdrive in {{/Volumes/ramdisk}}:

{{{
$ diskutil erasevolume HFS+ "ramdisk" `hdiutil attach -nomount ram://1165430`
}}}

To unmount, eject from Finder.

----
[Linux | CategoryComputing.Linux] - [Mac | CategoryComputing.Mac] - [Fixme | CategoryFixme] - [Performance | CategoryComputing.Performance]