Debian GNU/Linux
RAM Disk (RAM Filesystem) (2012)
Create the /media/RAM directory.
Add this line in /etc/fstab file:
tmpfs /media/RAM tmpfs defaults,size=8G 0 0
If you do not want to restart now, you can use this command to mount
/media/RAM (with root access):
mount -a