The following commands are how I create a RAMDisk on Ubuntu 12.04 LTS:
sudo mkdir -p /media/ramdisk sudo mount -t tmpfs -o size=1024M tmpfs /media/ramdisk
But now I have no idea to eject it.
These commands are what I've tried but not work:
sudo eject /media/ramdisk sudo umount /media/ramdisk
How to eject RAMDisk properly?