On Thu, Feb 8, 2018 at 2:05 PM, Nikos Chantziaras <rea...@gmail.com> wrote:
> On 08/02/18 20:13, Rich Freeman wrote:
>>>
>>> If you're not using ccache, then you don't need /var/tmp to be on tmpfs.
>>> You
>>> should only put /var/tmp/portage on tmpfs.
>>
>>
>> I disagree on this.  Unless you have something that uses gobs of space
>> on /var/tmp there is little reason not to make the whole thing a
>> tmpfs.
>
>
> True. But I only said that's it's not needed. You can do it regardless.
>

We're on the same page here.

>
>>> If you do use ccache, then you need to mount both /var/tmp and
>>> /var/tmp/portage as tmpfs.
>>
>>
>> I DEFINITELY disagree on this one.  What is the point of using ccache
>> and then storing it on tmpfs, unless it is just for dealing with
>> short-term build failures?
>
> But above you said you should be putting /var/tmp on tmpfs :-P

I would also avoid putting ccache in /var/tmp for this reason.  I
suppose it is disposable but I'd think you'd want a different
retention policy than most stuff in /var/tmp.

In any case, ccache is only useful to the extent that you actually
re-use it, so purging it every time you reboot is usually
counterproductive, though it could be situational.


-- 
Rich

Reply via email to