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: 2009/10/30 15:51 by domingo
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki