Skip to content

Instantly share code, notes, and snippets.

@jmftrindade
Created April 16, 2019 15:52
Show Gist options
  • Save jmftrindade/da9e8dd623c13b2dc674f66c47bcfd8a to your computer and use it in GitHub Desktop.
Save jmftrindade/da9e8dd623c13b2dc674f66c47bcfd8a to your computer and use it in GitHub Desktop.
mount tmpfs or ramfs

guide

$ sudo mkdir -p /mnt/tmpfs
$ sudo mount -t tmpfs -o size=32g tmpfs /mnt/tmpfs
$ df -k

# after you're done..
$ sudo umount /mnt/tmpfs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment