Open up a shell instance editing /etc/fstab
:
$ sudo nano /etc/fstab
Inside the editor, append the following to create a new ramdisk. Adjust the 1024M
segment to whatever size you want your ramdisk to be.
tmpfs /tmp/ramdisk tmpfs noexec,defaults,noatime,size=1024M,x-gvfs-show,mode=1777 0 0