User Tools

Site Tools


howtos:tmp_as_ramdisk

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

howtos:tmp_as_ramdisk [d/m/Y H:i] (current)
Line 1: Line 1:
 +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:
 +
 +<​file>​
 +tmpfs /tmp tmpfs defaults,​noatime,​mode=1777 0 0
 +</​file>​
 +
 +The next time you boot you will use your memory for /tmp. 
howtos/tmp_as_ramdisk.txt · Last modified: d/m/Y H:i (external edit)