User Tools

Site Tools


howtos:tmp_as_ramdisk
no way to compare when less than two revisions

Differences

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


howtos:tmp_as_ramdisk [02/12/2018 21:34] (current) – created - external edit 127.0.0.1
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: 02/12/2018 21:34 by 127.0.0.1