Skip to content

Instantly share code, notes, and snippets.

@thomasdarimont
Created May 10, 2020 23:10
Show Gist options
  • Save thomasdarimont/6c5989d47601353efce81d0554502f21 to your computer and use it in GitHub Desktop.
Save thomasdarimont/6c5989d47601353efce81d0554502f21 to your computer and use it in GitHub Desktop.
Linux create RAM Disk

Create and mount RAM disk

mkdir -p /tmp/build
sudo mount -t tmpfs -o size=512M tmpfs /tmp/build

Unmount RAM disk

sudo umount /tmp/build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment