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.