Loading...

Migrate /tmp to RAM storage

:heavy_exclamation_mark: This post is older than a year. Consider some information might not be accurate anymore. :heavy_exclamation_mark:

To migrate your /tmp directory into RAM storage you can alter the /etc/fstab.

tmpfs	/tmp   tmpfs   defaults,noatime,nosuid,nodev,noexec,mode=1777,size=512M 0 0

The usable size is limited to 512 MB. After the reboot the changes are applied.