User Tools

Site Tools


As /tmp is cleaned out on every boot why use a (slow) disk to hold it. Many computers today hold enough memory that most of it isn't in use anyway. By creating a ramdisk for it instead you gain speed and less wear and tear on the SSD disk.

Edit the /etc/fstab and insert:

tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0

The next time you boot you will use your memory for /tmp.

indexes/tmp_as_ramdisk.txt · Last modified: d/m/Y H:i by domingo