Gentoo Archives: gentoo-user

From: Kai Krakow <hurikhan77@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: /var/tmp on tmpfs
Date: Sat, 10 Feb 2018 19:17:44
Message-Id: vns3le-2ni.ln1@hurikhan77.spdns.de
In Reply to: Re: [gentoo-user] /var/tmp on tmpfs by Rich Freeman
1 Am Thu, 08 Feb 2018 19:02:10 -0500 schrieb Rich Freeman:
2
3 > On Thu, Feb 8, 2018 at 6:18 PM, Wol's lists <antlists@××××××××××××.uk>
4 > wrote:
5 >>
6 >> /var/tmp is defined as the place where programs store stuff like crash
7 >> recovery files. Mounting it tmpfs is going to screw up any programs
8 >> that reply on that *defined* behaviour to recover after a crash.
9 >>
10 >>
11 > Care to cite an example of such a program in the Gentoo repo? I
12 > certainly can't think of any, and I've been running with /var/tmp on
13 > tmpfs for over a decade.
14 >
15 > /var/cache strikes me as a much better place for some kind of recovery
16 > file. While /var/tmp is typically less volatile than /tmp, it isn't
17 > really something that software should just rely on.
18
19 I don't think that /var/cache is a better choice here. Cache directories
20 should be treated as data that could be rebuilt at ANY time. That's
21 certainly not true for crash dump files. They simply don't belong there.
22
23 Thus, crash dumps should go to non-volatile directories like /var/tmp.
24
25
26 --
27 Regards,
28 Kai
29
30 Replies to list-only preferred.