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 29BC61382C5 for ; Thu, 8 Feb 2018 19:42:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BDF7FE0B97; Thu, 8 Feb 2018 19:42:26 +0000 (UTC) Received: from mail-pg0-x241.google.com (mail-pg0-x241.google.com [IPv6:2607:f8b0:400e:c05::241]) (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 3FF75E0B5E for ; Thu, 8 Feb 2018 19:42:26 +0000 (UTC) Received: by mail-pg0-x241.google.com with SMTP id w17so2006334pgv.6 for ; Thu, 08 Feb 2018 11:42:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=sZbqjN9xLJ5M9eH06qBrPZXYUfXHieiFWj3f5Y4zFUs=; b=hEhL3kjf2KjMcEJ3KodAJCChxtFZXxmpCDtsWvGQmRsvFWNliT6DtCQN0bphGY0GVl FxRvNygl9vwqGpjKQkZ2FaUUlO0fsEvFj0pJ59G5LejgJZAqqbL+gWY3VEFE28kLkzDI GwyYhUjKU3/cPyCqWrVAlr2rolQBfMKffxVD5nAKgZDk4fALwdirnQm9kE3Gv3NsWKNt UwaAspaCx0PtGccLi6NhDzjmDwM3+ex+WU2WJ5zFK1/cxobhzhrA7vqpTyucGdPfP3ri hFzVPfdzNYs2ld1Kkasp9/eMfK+6Dw772bUF55uRh9M5fYXNupIFDHQ/FODPZVFIvpb/ FGJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=sZbqjN9xLJ5M9eH06qBrPZXYUfXHieiFWj3f5Y4zFUs=; b=FHnkdQ0SJgrYk9qeRFgv5faBKnxwDSdkOa3sL4Q33baHpeEv+MOaf9FGMUtxw187Pk Gnii+8WaBuo5r5WsoTJIhvNZAcImC1o2IAajkl3UkWOkc4jE4Bb6YEjjC/pfc+PT2oNI TlP8DGDG3ZhEdzkyQmnCGEB15C++bIbT9byC8oz/uQ8lh4EUVnvBkldCL5S75hIfpw1E sPudw0Z7ZnnJAre89Hv+Uax7/VQTclGb7mEjMMB1WiFuwmdPSbWBQ51ckJu46MVSKIiX OI1g6DJGWGpYR9Os8hBIIGVrCQZWGNZJNlPWS8ji8+agQJfiiWK6z5KbkICNM7PQ4/nb jIlw== X-Gm-Message-State: APf1xPAEi+QoIzglilqOrFiWq56YxQgLy39xzqFrMzqGBXLHfBsOHol+ QUBYnQgqtwJ1CTp4ecWUhA/mn4b0HnOyF2Jwb3UswQ== X-Google-Smtp-Source: AH8x2253+cwL23g+819O1C7kIBDp33VvIe5tGEEFM6Lvh4lbEKezoByreHH8d6uL3mZtQxTm27E5DYO1rH08dPocjvs= X-Received: by 10.101.81.13 with SMTP id f13mr243608pgq.242.1518118944932; Thu, 08 Feb 2018 11:42:24 -0800 (PST) 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 Sender: freemanrich@gmail.com Received: by 10.100.134.1 with HTTP; Thu, 8 Feb 2018 11:42:24 -0800 (PST) In-Reply-To: References: From: Rich Freeman Date: Thu, 8 Feb 2018 14:42:24 -0500 X-Google-Sender-Auth: jFmo0ruUOgG-ZLMv5mz3X4FlBWU Message-ID: Subject: Re: [gentoo-user] Re: /var/tmp on tmpfs To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: 1dc5b638-283f-4d10-84e3-d8ea6a65c592 X-Archives-Hash: c232fd9691a2255fad8a09995c840d7b On Thu, Feb 8, 2018 at 2:05 PM, Nikos Chantziaras wrote: > On 08/02/18 20:13, Rich Freeman wrote: >>> >>> If you're not using ccache, then you don't need /var/tmp to be on tmpfs. >>> You >>> should only put /var/tmp/portage on tmpfs. >> >> >> I disagree on this. Unless you have something that uses gobs of space >> on /var/tmp there is little reason not to make the whole thing a >> tmpfs. > > > True. But I only said that's it's not needed. You can do it regardless. > We're on the same page here. > >>> If you do use ccache, then you need to mount both /var/tmp and >>> /var/tmp/portage as tmpfs. >> >> >> I DEFINITELY disagree on this one. What is the point of using ccache >> and then storing it on tmpfs, unless it is just for dealing with >> short-term build failures? > > But above you said you should be putting /var/tmp on tmpfs :-P I would also avoid putting ccache in /var/tmp for this reason. I suppose it is disposable but I'd think you'd want a different retention policy than most stuff in /var/tmp. In any case, ccache is only useful to the extent that you actually re-use it, so purging it every time you reboot is usually counterproductive, though it could be situational. -- Rich