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 1SYTJ9-0004T2-Tq for garchives@archives.gentoo.org; Sun, 27 May 2012 02:34:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4E902E06FD; Sun, 27 May 2012 02:33:58 +0000 (UTC) Received: from svr-us4.tirtonadi.com (svr-us4.tirtonadi.com [69.65.43.212]) by pigeon.gentoo.org (Postfix) with ESMTP id 50E59E0776 for ; Sun, 27 May 2012 02:30:53 +0000 (UTC) Received: from mail-vb0-f53.google.com ([209.85.212.53]) by svr-us4.tirtonadi.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.69) (envelope-from ) id 1SYTFt-004OV4-1c for gentoo-user@lists.gentoo.org; Sun, 27 May 2012 09:30:53 +0700 Received: by vbbfc26 with SMTP id fc26so1664770vbb.40 for ; Sat, 26 May 2012 19:30:49 -0700 (PDT) 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 Received: by 10.220.150.134 with SMTP id y6mr4235877vcv.43.1338085849369; Sat, 26 May 2012 19:30:49 -0700 (PDT) Received: by 10.220.81.202 with HTTP; Sat, 26 May 2012 19:30:49 -0700 (PDT) Received: by 10.220.81.202 with HTTP; Sat, 26 May 2012 19:30:49 -0700 (PDT) In-Reply-To: <4FC17238.4020605@gmail.com> 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> Date: Sun, 27 May 2012 09:30:49 +0700 Message-ID: Subject: Re: [gentoo-user] How can I control size of /run (tmpfs)? From: Pandu Poluan To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=f46d04389363bb0c6c04c0fb6399 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - svr-us4.tirtonadi.com X-AntiAbuse: Original Domain - lists.gentoo.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - poluan.info X-Archives-Salt: 700c5d6e-399a-40c6-a145-72395844bbc9 X-Archives-Hash: f3a53b86d2f23b5441ebdb2ba344ae14 --f46d04389363bb0c6c04c0fb6399 Content-Type: text/plain; charset=UTF-8 On May 27, 2012 7:19 AM, "Dale" wrote: > > Alan McKinnon wrote: > > On Sat, 26 May 2012 18:17:38 -0500 > > Dale wrote: > > > >> It > >> appears that /run is sort of a temp thing while booting and just sort > >> of sticks around after getting booted, since it is there anyway. Why > >> not use it? > > > > No, that is incorrect. > > > > /run is a deliberate design decision (and a damn good one that should > > always have been there IMHO) and it sticks around because it is > > supposed to. It's not an after-effect that just happens to be useful, > > it's the entire objective. > > > > Think of it in the same way you think of /dev, /proc and /sys: > > > > There are there, there are guaranteed to be there with certain > > behaviours, and you can't change that (neither should you want to). > > > > > What I was saying tho, since it appears to be needed now, since /var may > not be mounted yet, it was created and is used during booting up. Since > it is there, why not use it, even AFTER the system is booted. After > all, the files are already there since they were put there during boot > up. No need moving them and all that when they are already created and > available. > > Plus, as someone said, I think it was you in another reply, what if /var > fails to mount at all? At that point, it still works since /run is > there already. Since /run is on tmpfs, if it fails to mount for some > reason, you got issues already. ;-) > > I don't mind it being there, I just hope udev, or whatever else may use > it later on, doesn't get memory hungry. Actually, maybe some other > small directories could be placed there as well. The lock files would > be a good one to start with. Just thinking. May want to duck tho. lol > You mean /var/lock ? Hasn't it transmogrified to /run/lock now? Rgds, --f46d04389363bb0c6c04c0fb6399 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On May 27, 2012 7:19 AM, "Dale" <rdalek1967@gmail.com> wrote:
>
> Alan McKinnon wrote:
> > On Sat, 26 May 2012 18:17:38 -0500
> > Dale <rdalek1967@gmail= .com> wrote:
> >
> >> It
> >> appears that /run is sort of a temp thing while booting and j= ust sort
> >> of sticks around after getting booted, since it is there anyw= ay. =C2=A0Why
> >> not use it?
> >
> > No, that is incorrect.
> >
> > /run is a deliberate design decision (and a damn good one that sh= ould
> > always have been there IMHO) and it sticks around because it is > > supposed to. It's not an after-effect that just happens to be= useful,
> > it's the entire objective.
> >
> > Think of it in the same way you think of /dev, /proc and /sys: > >
> > There are there, there are guaranteed to be there with certain > > behaviours, and you can't change that (neither should you wan= t to).
> >
>
>
> What I was saying tho, since it appears to be needed now, since /var m= ay
> not be mounted yet, it was created and is used during booting up. =C2= =A0Since
> it is there, why not use it, even AFTER the system is booted. =C2=A0Af= ter
> all, =C2=A0the files are already there since they were put there durin= g boot
> up. =C2=A0No need moving them and all that when they are already creat= ed and
> available.
>
> Plus, as someone said, I think it was you in another reply, what if /v= ar
> fails to mount at all? =C2=A0At that point, it still works since /run = is
> there already. =C2=A0Since /run is on tmpfs, if it fails to mount for = some
> reason, you got issues already. =C2=A0;-)
>
> I don't mind it being there, I just hope udev, or whatever else ma= y use
> it later on, doesn't get memory hungry. =C2=A0 Actually, maybe som= e other
> small directories could be placed there as well. =C2=A0The lock files = would
> be a good one to start with. =C2=A0Just thinking. =C2=A0May want to du= ck tho. =C2=A0lol
>

You mean /var/lock ? Hasn't it transmogrified to /run/lock now?

Rgds,

--f46d04389363bb0c6c04c0fb6399--