Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /var/tmp on tmpfs
Date: Fri, 09 Feb 2018 08:11:45
Message-Id: 20180209081129.685e8b1a@digimed.co.uk
In Reply to: Re: [gentoo-user] /var/tmp on tmpfs by Wol's lists
1 On Thu, 8 Feb 2018 23:18:19 +0000, Wol's lists wrote:
2
3 > > More specifically, /var/tmp is traditionally supposed to be
4 > > non-volatile (across reboots).
5 > >
6 > > Comparatively the contents of /tmp can be volatile (across reboots).
7 > >
8 > > I would advise against mounting /var/tmp on tmpfs.
9 > >
10 > EMPHATICALLY YES.
11 >
12 > /tmp is defined as being volatile - stuff can disappear at any time.
13 >
14 > /var/tmp is defined as the place where programs store stuff like crash
15 > recovery files. Mounting it tmpfs is going to screw up any programs
16 > that reply on that *defined* behaviour to recover after a crash.
17 >
18 > Mounting /var/tmp/portage as tmpfs is perfectly fine as far as I know -
19 > I do it myself.
20
21 Why mess around with another tmpfs? Just set PORTAGE_TMPDIR="/tmp" in
22 make.conf. Job done!
23
24
25 --
26 Neil Bothwick
27
28 Why do Kennedy's cry after sex? ..... Mace!

Replies

Subject Author
Re: [gentoo-user] /var/tmp on tmpfs Peter Humphrey <peter@××××××××××××.uk>
Re: [gentoo-user] /var/tmp on tmpfs gevisz <gevisz@×××××.com>