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 <gentoo-user+bounces-138651-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1SYNMd-0005Uy-HW
	for garchives@archives.gentoo.org; Sat, 26 May 2012 20:13:27 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C14F6E05DB;
	Sat, 26 May 2012 20:13:13 +0000 (UTC)
Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175])
	by pigeon.gentoo.org (Postfix) with ESMTP id D8499E05BE
	for <gentoo-user@lists.gentoo.org>; Sat, 26 May 2012 20:11:53 +0000 (UTC)
Received: by wibhn6 with SMTP id hn6so481526wib.10
        for <gentoo-user@lists.gentoo.org>; Sat, 26 May 2012 13:11:53 -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=xDQkaRqjrnuBamIKq86nXB/p6PTKo1a67DUTUZfbopw=;
        b=MKR1tE25tBCmeiWTvfPsesj5mz26L6lb1ne0nu286SOemeIGCmIdvBAv/rMK6tyXP/
         sfS3GpnZRswgHnzcs/3BrIIM8L6JKw5gKY/7Q73g1Bs7XsTdOG59wctDeiJId2ZQEnBp
         fRgHgJ6GrC71ATM4SvJc1yCMKDbNZv7T4yZIo1fyy0V8dWyVs2VuG0Ix3bNyfLHaDIUQ
         ILBR8xsg/7c8PQrIdkUqwCdhgGgpo61fwntQq3tXpe5JCcEWo/RFXTJyJVYs0IwWDknd
         UzaJV1yufLTd5TlSQ+ASMjkMDl6uDnuA1MkSkFcJp73Z6RLooz9cggd6mCJBBF9zdZR+
         8gXw==
Received: by 10.216.134.41 with SMTP id r41mr1703235wei.13.1338063113054;
        Sat, 26 May 2012 13:11:53 -0700 (PDT)
Received: from [10.0.0.11] ([88.151.74.119])
        by mx.google.com with ESMTPS id fm1sm7634759wib.10.2012.05.26.13.11.51
        (version=TLSv1/SSLv3 cipher=OTHER);
        Sat, 26 May 2012 13:11:52 -0700 (PDT)
Message-ID: <4FC13850.2020802@gmail.com>
Date: Sat, 26 May 2012 22:08:48 +0200
From: Jarry <mr.jarry@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
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>
In-Reply-To: <4FC1368E.7080005@gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Archives-Salt: 4c5b0b9c-7abb-4e07-b4d3-9179e8218400
X-Archives-Hash: 41621274e5f42e8a1fb69b4e1ed5ffa3

On 26-May-12 22:01, Dale wrote:
> Jarry wrote:
>>
>> after updating baselayout from 2.0.3 to 2.1-r1 /run is mounted
>> as tmpfs. But I can not find any mount-option for controlling
>> how much memory is (or could be) used for it.
>>
>> Filesystem     1K-blocks    Used Available Use% Mounted on
>> tmpfs            8223848     224   8223624   1% /run
>>
>> I know it does not use 8GB right now, yet I'd like to reduce
>> it to some lower value, not half of my physical memory.
>> How can I do it? Can I simply add line in fstab like:
>>
>> none /run tmpfs size=128m 0 0         ???
>>
>> Jarry
>
> Holy smoke !  Mine is doing the same thing.
> tmpfs                   7.9G  260K  7.9G   1% /run
>
> But I also have this:
> tmpfs                   7.9G     0  7.9G   0% /var/tmp/portage
>
> So, between those two, I could run out of ram since I have 16Gbs.
>
> There is now TWO people that needs a answer to this question.  Why does
> it need that much anyway?  It looks to me like a few hundred Mbs, like
> Jarry posted, would be plenty.  Jeepers creepers.  lol
>
> Dale

I suppose default size for tmpfs is half of physical memory,
if it is not configured somewhere else.

BTW, is there any way to turn this great feature off?
What is it good for? I do not see any advantage in having
/run on tmpfs...

Jarry
-- 
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.