* Re: [gentoo-user] How can I control size of /run (tmpfs)?
@ 2012-05-27 6:34 99% ` Canek Peláez Valdés
0 siblings, 0 replies; 1+ results
From: Canek Peláez Valdés @ 2012-05-27 6:34 UTC (permalink / raw
To: gentoo-user
On Sun, May 27, 2012 at 1:20 AM, Canek Peláez Valdés <caneko@gmail.com> wrote:
> On Sat, May 26, 2012 at 11:29 PM, Joshua Murphy <poisonbl@gmail.com> wrote:
> [ snip ]
>> Well, given that it's there, it cleans up after itself, and it avoids
>> issues in the instance where /var isn't available early on, is there
>> much reason _not_ to link /var/run and /var/lock over to their
>> respective equivalents on /run?
>
> I use systemd, which was the one introducing both /run and /run/lock:
>
> http://lists.freedesktop.org/archives/systemd-devel/2011-March/001757.html
>
> With systemd, /var/run and /var/lock are bind-mounted to /run and
> /run/lock respectively. /run uses in my laptop (regularly suspended,
> with an uptime of 25 days) 8.8 megabytes, which I think is basically
> nothing for my 4 gigabyte RAM.
>
> After more programs (dracut, plymouth) started using /run and
> /run/lock, OpenRC implemented the same functionality; or so I read
> somewhere, I haven't used OpenRC in a while. In theory, it should work
> the same as with systemd.
I take that back; OpenRC doesn't bind-mount /run in /var/run. I ssh'd
to a server running OpenRC, and /var/run is independent from /run. And
still a regular directory, not a tmpfs.
That's a shame. Given that udev uses /run (stable "old" version,
171-r6), OpenRC should use it too; there is basically no cost, and the
gains are obvious.
With systemd is automatic the bind-mounting of /run into /var/run.
Perhaps a future version of OpenRC will use it?
Regards.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2012-05-26 19:46 [gentoo-user] How can I control size of /run (tmpfs)? Jarry
2012-05-26 20:01 ` Dale
2012-05-26 20:08 ` Jarry
2012-05-26 20:40 ` Neil Bothwick
2012-05-26 22:17 ` Dale
2012-05-26 22:34 ` Neil Bothwick
2012-05-26 23:17 ` Dale
2012-05-26 23:21 ` Alan McKinnon
2012-05-27 0:15 ` Dale
2012-05-27 2:30 ` Pandu Poluan
2012-05-27 3:06 ` Dale
2012-05-27 4:29 ` Joshua Murphy
2012-05-27 6:20 ` Canek Peláez Valdés
2012-05-27 6:34 99% ` Canek Peláez Valdés
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox