ubuntu linux: create a ramdisk
$ sudo -s
# free -m # (optional) to check how much memory left on system
# mkdir /tmp/ramdisk; chmod 777 /tmp/ramdisk
# mount -t tmpfs -o size=256M tmpfs /tmp/ramdisk/
# exit
# free -m # (optional) to check how much memory left on system
# mkdir /tmp/ramdisk; chmod 777 /tmp/ramdisk
# mount -t tmpfs -o size=256M tmpfs /tmp/ramdisk/
# exit
Labels: linux