Hacker News new | ask | show | jobs
by bradleyland 5364 days ago
See also:

    mkdir /media/ramdisk
    chmod 777 /media/ramdisk
    mount -t tmpfs -o size=1024M tmpfs /media/ramdisk/
Note: Do not copy/paste this in to your shell unless you know what you're doing. This will immediately seize 1 GB of RAM that you may or may not have free. Any data you put there will go up in smoke if your system loses power or is forced to reboot without first copying the data to persistent storage.