On Friday, 9 February 2018 08:11:29 GMT Neil Bothwick wrote:
> On Thu, 8 Feb 2018 23:18:19 +0000, Wol's lists wrote:
> > > 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.
> Why mess around with another tmpfs? Just set PORTAGE_TMPDIR="/tmp" in
> make.conf. Job done!
Acting on the advice of various Gentoo guides, I have this:
# grep tmp /etc/fstab
tmpfs /var/tmp/portage tmpfs
noatime,uid=portage,gid=portage,mode=0775 0 0
tmpfs /tmp tmpfs
noatime,nosuid,nodev,noexec,mode=1777 0 0
Are you saying I don't gain anything from it?