Linux RAM Disk
Howto setup a ram disk on linux
Make a mount point
sudo mkdir /ramdisk
First create the partition
sudo mount -t tmpfs none /ramdisk -o size=256M,mode=1777,noexec,nosuid,nodev
To make it automatic add this to /etc/fstab
none /ramdisk tmps size=256M,mode=1777,noexec,nosuid,nodev 0 0
There's no need to format the filesystem as the mount call does this already. Remember that this partition is volatile.