* Re: [gentoo-user] How can I control size of /run (tmpfs)?
@ 2012-05-26 22:34 99% ` Neil Bothwick
0 siblings, 0 replies; 1+ results
From: Neil Bothwick @ 2012-05-26 22:34 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1144 bytes --]
On Sat, 26 May 2012 17:17:54 -0500, Dale wrote:
> > It makes sure that /run is available and writeable early in the boot
> > process, whereas /var/run may not be and / may be mounted ro.
> Mine wouldn't be since I have /var on a separate partition. I guess the
> devs are getting ready for the ultimate screwup udev and friends is
> putting in place.
No, it's avoiding a screwup. If you have /var on a separate partition, as
I do, and something early in the boot process writes to /var/run
(or /var/lock) whatever is written disappears when the var filesystem is
mounted on /var. Using a tmpfs in / prevent this.
The alternative is to require /var is on the same filesystem as / or
mounted from an initramfs. ISTR you were rather against such a move.
This move makes perfect sense, volatile but essential data is kept in ram
rather than on a filesystem that may not always be available. If you are
really bothered about the maximum size, remount it, although an option to
specify this in rc.conf may possibly be useful in some situations.
--
Neil Bothwick
(A)bort, (R)etry, (P)retend this never happened...
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ 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 99% ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox