From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 92CB31382C5 for ; Sat, 10 Feb 2018 19:17:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6A675E0AE1; Sat, 10 Feb 2018 19:17:34 +0000 (UTC) Received: from blaine.gmane.org (unknown [195.159.176.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DE56EE0ACD for ; Sat, 10 Feb 2018 19:17:33 +0000 (UTC) Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ekac4-0004yV-2F for gentoo-user@lists.gentoo.org; Sat, 10 Feb 2018 20:15:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Kai Krakow Subject: [gentoo-user] Re: /var/tmp on tmpfs Date: Sat, 10 Feb 2018 20:11:27 +0100 Message-ID: References: <63b383d1-e75d-097a-593a-6b955b482676@youngman.org.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Pan/0.142 (He slipped to Sam a double gin; 01b5bf4 git.gnome.org/pan2) X-Archives-Salt: cf4a7f93-a8d6-4e38-80de-e8bda16f80cf X-Archives-Hash: 3e9225757d6d83d9896aac4141a1da96 Am Thu, 08 Feb 2018 19:02:10 -0500 schrieb Rich Freeman: > On Thu, Feb 8, 2018 at 6:18 PM, Wol's lists > wrote: >> >> /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. >> >> > Care to cite an example of such a program in the Gentoo repo? I > certainly can't think of any, and I've been running with /var/tmp on > tmpfs for over a decade. > > /var/cache strikes me as a much better place for some kind of recovery > file. While /var/tmp is typically less volatile than /tmp, it isn't > really something that software should just rely on. I don't think that /var/cache is a better choice here. Cache directories should be treated as data that could be rebuilt at ANY time. That's certainly not true for crash dump files. They simply don't belong there. Thus, crash dumps should go to non-volatile directories like /var/tmp. -- Regards, Kai Replies to list-only preferred.