:: Re: [DNG] use zram for /tmp - how?
Forside
Slet denne besked
Besvar denne besked
Skribent: Florian Zieboll
Dato:  
Til: dng
Emne: Re: [DNG] use zram for /tmp - how?
On Sat, 4 Jun 2016 21:44:37 +0200
<emninger@???> wrote:

> Anyone of you knows a way how to use zram for /tmp ?
>
> (...)
>
> I did not find anything for debian. Only zram for swap like here
> (https://wiki.debian.org/ZRam) and here
> (http://forum.linuxvillage.org/index.php?topic=92.0)



just guessing as I am usually rather low on ram... following the debian
wiki link, for a first try i'd adapt the $SIZE and replace the
mkswap/swapon lines of the script with "mount /dev/zram$i /tmp" and
comment out the stop/swapoff part. of course the ramdisk will have to
be mounted before /tmp is used...

f.