On 08/02/18 20:56, Grant Taylor wrote:
On 02/08/2018 10:11 AM, gevisz wrote:
And I am going to set the whole /var/tmp on tpmfs instead of just
/var/tmp/portage
Is it ok?
I don't know about the context of emerging, but I do know about the
context of /var/tmp being volatile.
More specifically, /var/tmp is traditionally supposed to be non-volatile
(across reboots).
Comparatively the contents of /tmp can be volatile (across reboots).
I would advise against mounting /var/tmp on tmpfs.
EMPHATICALLY YES.
/tmp is defined as being volatile - stuff can disappear at any time.
/var/tmp is defined as the place where programs store stuff like crash
recovery files. Mounting it tmpfs is going to screw up any programs that
reply on that *defined* behaviour to recover after a crash.
Mounting /var/tmp/portage as tmpfs is perfectly fine as far as I know -
I do it myself.
Cheers,
Wol