summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-September/018629.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-September/018629.html')
-rw-r--r--zarb-ml/mageia-dev/2012-September/018629.html143
1 files changed, 143 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-September/018629.html b/zarb-ml/mageia-dev/2012-September/018629.html
new file mode 100644
index 000000000..291c4d36e
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-September/018629.html
@@ -0,0 +1,143 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] /run vs /var/run in configuration files
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20/run%20vs%20/var/run%20in%20configuration%20files&In-Reply-To=%3C504F241C.6080404%40colin.guthr.ie%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="018628.html">
+ <LINK REL="Next" HREF="018674.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] /run vs /var/run in configuration files</H1>
+ <B>Colin Guthrie</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20/run%20vs%20/var/run%20in%20configuration%20files&In-Reply-To=%3C504F241C.6080404%40colin.guthr.ie%3E"
+ TITLE="[Mageia-dev] /run vs /var/run in configuration files">mageia at colin.guthr.ie
+ </A><BR>
+ <I>Tue Sep 11 13:44:28 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="018628.html">[Mageia-dev] /run vs /var/run in configuration files
+</A></li>
+ <LI>Next message: <A HREF="018674.html">[Mageia-dev] /run vs /var/run in configuration files
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#18629">[ date ]</a>
+ <a href="thread.html#18629">[ thread ]</a>
+ <a href="subject.html#18629">[ subject ]</a>
+ <a href="author.html#18629">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>'Twas brillig, and Guillaume Rousse at 11/09/12 11:47 did gyre and gimble:
+&gt;<i> Le 11/09/2012 12:23, Sander Lepik a &#233;crit :
+</I>&gt;&gt;<i> 11.09.2012 13:15, Guillaume Rousse kirjutas:
+</I>&gt;&gt;&gt;<i> [...]
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> The /run - /var/run merge (/usrmove) is supposed to make the change
+</I>&gt;&gt;&gt;<i> transparent for applications. Manually converting applications to
+</I>&gt;&gt;&gt;<i> explicitely refers to the new location doesn't change its usefulness.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;<i> Well, if your system can't mount /var for some reason then keeping
+</I>&gt;&gt;<i> things on /run might make recovery easier.
+</I>
+&gt;<i> Then we probably should not refer to systemd directory as
+</I>&gt;<i> /usr/lib/systemd, but as /lib/systemd for exactly the same reason.
+</I>
+I don't really see the comparison here.
+
+systemd is build to use /usr/lib/systemd these days, so it's technically
+incorrect to refer to it as anything else (of course technically
+incorrect != practically incorrect!)
+
+&gt;<i> Also, the usefulness of an available /run when /var is quite discutable,
+</I>&gt;<i> whereas its main purpose is to store pid files for backgroud processes,
+</I>&gt;<i> most of them using /var/lib for storing their data.
+</I>
+Well, not just pid files. It also stores socket files which are critical
+for IPC and such like and is an important bridge between initrd and the
+real rootfs.
+
+Personally I'm more in favour of using /run directly and adding lint
+rules that cause a build failure if files are packaged in either
+/var/run or /run.
+
+If nothing else it's marginally more efficient to use /run. No spinning
+media stat required to dereference the index. In extreme cases, it will
+help extend battery life. The benefits are tiny I'm sure, but it does
+depend on context/setup and if there is no other tangible reasons, maybe
+even this small advantage is enough to sway in one direction rather than
+the other!
+
+Col
+
+
+
+
+--
+
+Colin Guthrie
+colin(at)mageia.org
+<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A>
+
+Day Job:
+ Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A>
+Open Source:
+ Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A>
+ PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A>
+ Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A>
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="018628.html">[Mageia-dev] /run vs /var/run in configuration files
+</A></li>
+ <LI>Next message: <A HREF="018674.html">[Mageia-dev] /run vs /var/run in configuration files
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#18629">[ date ]</a>
+ <a href="thread.html#18629">[ thread ]</a>
+ <a href="subject.html#18629">[ subject ]</a>
+ <a href="author.html#18629">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>