summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2013-February/022848.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2013-February/022848.html')
-rw-r--r--zarb-ml/mageia-dev/2013-February/022848.html168
1 files changed, 168 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2013-February/022848.html b/zarb-ml/mageia-dev/2013-February/022848.html
new file mode 100644
index 000000000..aec92b6a3
--- /dev/null
+++ b/zarb-ml/mageia-dev/2013-February/022848.html
@@ -0,0 +1,168 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] [soft-commits] [7324] (call_blkid) always bypass blkid cache
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B7324%5D%20%28call_blkid%29%20always%20bypass%0A%09blkid%20cache&In-Reply-To=%3CCA%2BCX%2Bbgc142YrJVc%2BpKkZu_bo%3DLq9aZSUk-1jO%3D47KN%3DV3DHBw%40mail.gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="022853.html">
+ <LINK REL="Next" HREF="022849.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] [soft-commits] [7324] (call_blkid) always bypass blkid cache</H1>
+ <B>Pascal Terjan</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B7324%5D%20%28call_blkid%29%20always%20bypass%0A%09blkid%20cache&In-Reply-To=%3CCA%2BCX%2Bbgc142YrJVc%2BpKkZu_bo%3DLq9aZSUk-1jO%3D47KN%3DV3DHBw%40mail.gmail.com%3E"
+ TITLE="[Mageia-dev] [soft-commits] [7324] (call_blkid) always bypass blkid cache">pterjan at gmail.com
+ </A><BR>
+ <I>Thu Feb 14 15:34:55 CET 2013</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="022853.html">[Mageia-dev] Freeze push: mutter 3.6.3
+</A></li>
+ <LI>Next message: <A HREF="022849.html">[Mageia-dev] [soft-commits] [7324] (call_blkid) always bypass blkid cache
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#22848">[ date ]</a>
+ <a href="thread.html#22848">[ thread ]</a>
+ <a href="subject.html#22848">[ subject ]</a>
+ <a href="author.html#22848">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On Thu, Feb 14, 2013 at 2:22 PM, &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at mageia.org</A>&gt; wrote:
+
+&gt;<i> **
+</I>&gt;<i> Revision 7324 Author colin Date 2013-02-14 15:22:44 +0100 (Thu, 14 Feb
+</I>&gt;<i> 2013) Log Message
+</I>&gt;<i>
+</I>&gt;<i> (call_blkid) always bypass blkid cache
+</I>&gt;<i>
+</I>&gt;<i> This reverts the use of the blkid cache.
+</I>&gt;<i>
+</I>&gt;<i> This cache is a broken concept and should not be used. It's only
+</I>&gt;<i> intended to be used for LABEL/UUID conversion.
+</I>&gt;<i>
+</I>&gt;<i> Please add a comment in the code :)
+</I>
+&gt;<i>
+</I>&gt;<i> From the upstream maintainer:
+</I>&gt;<i> &lt;kzak&gt; coling: -p provides more information, the cache is designed for
+</I>&gt;<i> LABEL/UUID conversion -- and the goal is to avoid the cache if possible
+</I>&gt;<i> (it's mostly for backward compatibility). The ideal solution is to read
+</I>&gt;<i> the information from udev DB.
+</I>&gt;<i> &lt;kzak&gt; coling: man blkid (at least the latest version contains some hint
+</I>&gt;<i> about this issue)
+</I>&gt;<i> &lt;kzak&gt; coling: I'd like to learn people to use lsblk -- it's designed
+</I>&gt;<i> more friendly for end-users as well as for scripts and it reads info
+</I>&gt;<i> from udev, libblkid is only fallback here.
+</I>&gt;<i>
+</I>&gt;<i> Longer term we should kill off the use of blkid and perhaps move to
+</I>&gt;<i> lsblk or some perl-udev (if such a thing exists) usage instead:
+</I>&gt;<i>
+</I>&gt;<i> &lt;kay&gt; coling: avoid the blkid cache, it is a completely broken idea
+</I>&gt;<i> &lt;kay&gt; kzak: you should really kill that thing :)
+</I>&gt;<i> &lt;kzak&gt; kay: I'd like to kill blkid at all and keep it as &quot;to test the
+</I>&gt;<i> library&quot; binary...
+</I>&gt;<i> &lt;kay&gt; kzak: tools with options like that talk for their sanity
+</I>&gt;<i> themselves :) &quot; -g Perform a garbage collection pass on the blkid
+</I>&gt;<i> cache to remove devices which no longer exist.&quot;
+</I>&gt;<i> &lt;kay&gt; kzak: it's just silly, really silly to ever do that :)
+</I>&gt;<i> &lt;kay&gt; kzak: yeah, sounds fine to let blkid and its cache die in the long
+</I>&gt;<i> run
+</I>&gt;<i> &lt;kzak&gt; lsblk is maintainable and extendable -- fix blkid(8) is
+</I>&gt;<i> impossible to fix...
+</I>&gt;<i>
+</I>&gt;<i> This reverts r6891.
+</I>&gt;<i>
+</I>&gt;<i> Modified Paths
+</I>&gt;<i>
+</I>&gt;<i> - drakx/trunk/perl-install/NEWS&lt;#13cd91629257f7c0_drakxtrunkperlinstallNEWS&gt;
+</I>&gt;<i> - drakx/trunk/perl-install/fs/type.pm&lt;#13cd91629257f7c0_drakxtrunkperlinstallfstypepm&gt;
+</I>&gt;<i> - drakx/trunk/perl-install/install/NEWS&lt;#13cd91629257f7c0_drakxtrunkperlinstallinstallNEWS&gt;
+</I>&gt;<i>
+</I>&gt;<i> Modified: drakx/trunk/perl-install/NEWS
+</I>&gt;<i> ===================================================================
+</I>&gt;<i> --- drakx/trunk/perl-install/NEWS 2013-02-14 01:39:37 UTC (rev 7323)
+</I>&gt;<i> +++ drakx/trunk/perl-install/NEWS 2013-02-14 14:22:44 UTC (rev 7324)
+</I>&gt;<i> @@ -1,3 +1,5 @@
+</I>&gt;<i> +- always bypass blkid cache (the cache only includes a subset of the data we need)
+</I>&gt;<i> +
+</I>&gt;<i> Version 15.19 - 16 January 2013
+</I>&gt;<i>
+</I>&gt;<i> - update translations
+</I>&gt;<i> Modified: drakx/trunk/perl-install/fs/type.pm
+</I>&gt;<i> ===================================================================
+</I>&gt;<i> --- drakx/trunk/perl-install/fs/type.pm 2013-02-14 01:39:37 UTC (rev 7323)
+</I>&gt;<i> +++ drakx/trunk/perl-install/fs/type.pm 2013-02-14 14:22:44 UTC (rev 7324)
+</I>&gt;<i> @@ -273,7 +273,7 @@
+</I>&gt;<i>
+</I>&gt;<i> my %h = map {
+</I>&gt;<i> if_(/(.*?)=(.*)/, $1 =&gt; $2);
+</I>&gt;<i> - } run_program::get_stdout_raw({ timeout =&gt; 30 }, 'blkid', '2&gt;', '/dev/null', '-o', 'udev', devices::make($part-&gt;{device}));
+</I>&gt;<i> + } run_program::get_stdout_raw({ timeout =&gt; 30 }, 'blkid', '2&gt;', '/dev/null', '-o', 'udev', '-p', devices::make($part-&gt;{device}));
+</I>&gt;<i>
+</I>&gt;<i> \%h;
+</I>&gt;<i> }
+</I>&gt;<i> Modified: drakx/trunk/perl-install/install/NEWS
+</I>&gt;<i> ===================================================================
+</I>&gt;<i> --- drakx/trunk/perl-install/install/NEWS 2013-02-14 01:39:37 UTC (rev 7323)
+</I>&gt;<i> +++ drakx/trunk/perl-install/install/NEWS 2013-02-14 14:22:44 UTC (rev 7324)
+</I>&gt;<i> @@ -1,3 +1,5 @@
+</I>&gt;<i> +- always bypass blkid cache (the cache only includes a subset of the data we need)
+</I>&gt;<i> +
+</I>&gt;<i> Version 15.20 - 21 January 2013
+</I>&gt;<i>
+</I>&gt;<i> - use modprobe instead of insmod (mga#8676)
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i>
+</I>-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;/pipermail/mageia-dev/attachments/20130214/7ed5ad66/attachment.html&gt;
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="022853.html">[Mageia-dev] Freeze push: mutter 3.6.3
+</A></li>
+ <LI>Next message: <A HREF="022849.html">[Mageia-dev] [soft-commits] [7324] (call_blkid) always bypass blkid cache
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#22848">[ date ]</a>
+ <a href="thread.html#22848">[ thread ]</a>
+ <a href="subject.html#22848">[ subject ]</a>
+ <a href="author.html#22848">[ 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>