:: Re: [DNG] use zram for /tmp - how?
Page principale
Supprimer ce message
Répondre à ce message
Auteur: parazyd
Date:  
À: emninger
CC: dng
Sujet: Re: [DNG] use zram for /tmp - how?
For /tmp I would definitely use tmpfs.
It's as simple as adding an entry to the fstab

tmpfs /tmp tmpfs nodev,nosuid,size=2G 0 0

In this example, your /tmp will be 2 gigabytes big, but tmpfs will keep
your /tmp in RAM, while not cutting off the entire 2GB of your system's
RAM. It will only use as much as it needs.

--
~ parazyd
0333 7671 FDE7 5BB6 A85E C91F B876 CB44 FA1B 0274