Mount Temp Direcories as Devices
Mounting your temp directories as devices will store the data in your computers ram instead of on the filesystem. This will reduce the writes made to your storage device, which is benificial for flash based systems. You can achieve this by adding various directories to your fstab (/etc/fstab) configuration file:
tmpfs /var/log/apt tmpfs defaults 0 0
tmpfs /var/log tmpfs defaults 0 0
tmpfs /tmp tmpfs defaults 0 0
tmpfs /var/tmp tmpfs defaults 0 0





