Last active
August 24, 2017 05:13
-
-
Save yunghoy/1c7c6d2012e0de2f475b72e4bbda4673 to your computer and use it in GitHub Desktop.
/tmp using ramdisk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Ubuntu 14.04 | |
| /etc/fstab -> tmpfs /tmp tmpfs defaults,noatime,nosuid,nodev,noexec,mode=1777,size=512M 0 0 | |
| Ubuntu 16.04 | |
| sudo cp /usr/share/systemd/tmp.mount /etc/systemd/system/tmp.mount | |
| sudo systemctl enable tmp.mount | |
| sudo systemctl start tmp.mount | |
| sudo mount /tmp -o remount,exec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment