From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SYXcV-0001nb-Rm for garchives@archives.gentoo.org; Sun, 27 May 2012 07:10:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41293E04CB; Sun, 27 May 2012 07:10:16 +0000 (UTC) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 8F578E06B5 for ; Sun, 27 May 2012 07:08:53 +0000 (UTC) Received: by werj55 with SMTP id j55so1600351wer.40 for ; Sun, 27 May 2012 00:08:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=6OWe6N5qayBxOjWXRe9oBiPfNyV3nU4So8F1cJPNiLo=; b=uOgIrm/z23UTYe/6pl1AsZeXSuQarVepEq+XOKl2NAJR041x/wFiSDSSexu+8+aw93 TgK0kiRNjoSWb4otzQ9D6RIrSWdXg9/Wel4wbCc9kUISOED8hfRsvplE+xi7n94GwegR 2e9v7sTHtwymguPJoMzKKIPYL8Vl6rftmXRnXjRyOFfAPoHC5HT+Dzr27g8AMH6mAA9B KUQZfkgyG3DVROopx5RKLY038tSf93o/epvvsujXhbrXLBqoat+9zozezdzqFLU6kiJt eqxnVnp1Dc0wxPi58pbk8gayvfxyOxFuUqVE3WstAFBTeKuxBhhigoxnGaRRcHors1A7 j8DQ== Received: by 10.180.80.35 with SMTP id o3mr7354432wix.7.1338102532761; Sun, 27 May 2012 00:08:52 -0700 (PDT) Received: from [10.0.0.11] ([88.151.75.230]) by mx.google.com with ESMTPS id et10sm11015331wib.2.2012.05.27.00.08.50 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 27 May 2012 00:08:51 -0700 (PDT) Message-ID: <4FC1D24A.8050409@gmail.com> Date: Sun, 27 May 2012 09:05:46 +0200 From: Jarry User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How can I control size of /run (tmpfs)? References: <4FC1332A.3040703@gmail.com> <4FC1368E.7080005@gmail.com> <4FC13850.2020802@gmail.com> <20120526214001.0668531f@digimed.co.uk> <4FC15692.9070507@gmail.com> <20120526233444.670274c8@digimed.co.uk> <4FC16492.5020603@gmail.com> <20120527012105.284de0e6@khamul.example.com> <4FC17238.4020605@gmail.com> <4FC19A24.2000103@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 73d34311-a01b-4897-8711-0d3a15c669d0 X-Archives-Hash: 5ec0b5a5a2e80ddabb2e8a52c3ae678e I have read through all replies, but I still did not find answers to my original questions: Q1: Can I somehow reduce the size of /run? I know it is tmpfs and I know this is upper limit normally never achieved, but I want to reduce this upper limit. Is it possible, or is it hard-coded to half of physical memory? Q2: Can I turn this "/run in tmpfs" feature off? I do not see *any* advantage in vasting memory for /run (although I agree there might be some point in moving "run" from /var/run to /run). But I see one big problem: If badly written application starts writing some crap in /run, it could deadlock my computer quite easily. And before you ask, no it is not so easy to do with /run on hard-drive because I have plenty of TB there and monitoring software running which alerts me as soon as any partition is half full. Unfortunatelly this does not work for tmpfs because with given read/write speed of ram-disk it would be full in a few seconds before I had any chance to act... Jarry -- _______________________________________________________________ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.