Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How can I control size of /run (tmpfs)?
Date: Sun, 27 May 2012 00:17:41
Message-Id: 4FC17238.4020605@gmail.com
In Reply to: Re: [gentoo-user] How can I control size of /run (tmpfs)? by Alan McKinnon
1 Alan McKinnon wrote:
2 > On Sat, 26 May 2012 18:17:38 -0500
3 > Dale <rdalek1967@×××××.com> wrote:
4 >
5 >> It
6 >> appears that /run is sort of a temp thing while booting and just sort
7 >> of sticks around after getting booted, since it is there anyway. Why
8 >> not use it?
9 >
10 > No, that is incorrect.
11 >
12 > /run is a deliberate design decision (and a damn good one that should
13 > always have been there IMHO) and it sticks around because it is
14 > supposed to. It's not an after-effect that just happens to be useful,
15 > it's the entire objective.
16 >
17 > Think of it in the same way you think of /dev, /proc and /sys:
18 >
19 > There are there, there are guaranteed to be there with certain
20 > behaviours, and you can't change that (neither should you want to).
21 >
22
23
24 What I was saying tho, since it appears to be needed now, since /var may
25 not be mounted yet, it was created and is used during booting up. Since
26 it is there, why not use it, even AFTER the system is booted. After
27 all, the files are already there since they were put there during boot
28 up. No need moving them and all that when they are already created and
29 available.
30
31 Plus, as someone said, I think it was you in another reply, what if /var
32 fails to mount at all? At that point, it still works since /run is
33 there already. Since /run is on tmpfs, if it fails to mount for some
34 reason, you got issues already. ;-)
35
36 I don't mind it being there, I just hope udev, or whatever else may use
37 it later on, doesn't get memory hungry. Actually, maybe some other
38 small directories could be placed there as well. The lock files would
39 be a good one to start with. Just thinking. May want to duck tho. lol
40
41 Dale
42
43 :-) :-)
44
45 --
46 I am only responsible for what I said ... Not for what you understood or
47 how you interpreted my words!
48
49 Miss the compile output? Hint:
50 EMERGE_DEFAULT_OPTS="--quiet-build=n"

Replies

Subject Author
Re: [gentoo-user] How can I control size of /run (tmpfs)? Pandu Poluan <pandu@××××××.info>