summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/attachments/20130214/7ed5ad66
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20130214/7ed5ad66')
-rw-r--r--zarb-ml/mageia-dev/attachments/20130214/7ed5ad66/attachment-0001.html103
-rw-r--r--zarb-ml/mageia-dev/attachments/20130214/7ed5ad66/attachment.html103
2 files changed, 206 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20130214/7ed5ad66/attachment-0001.html b/zarb-ml/mageia-dev/attachments/20130214/7ed5ad66/attachment-0001.html
new file mode 100644
index 000000000..a06155320
--- /dev/null
+++ b/zarb-ml/mageia-dev/attachments/20130214/7ed5ad66/attachment-0001.html
@@ -0,0 +1,103 @@
+On Thu, Feb 14, 2013 at 2:22 PM, <span dir="ltr">&lt;<a href="mailto:root@mageia.org" target="_blank">root@mageia.org</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
+
+<u></u>
+
+
+
+
+<div>
+
+
+<div>
+<dl>
+<dt>Revision</dt> <dd>7324</dd>
+<dt>Author</dt> <dd>colin</dd>
+<dt>Date</dt> <dd>2013-02-14 15:22:44 +0100 (Thu, 14 Feb 2013)</dd>
+</dl>
+
+<h3>Log Message</h3>
+<pre>(call_blkid) always bypass blkid cache
+
+This reverts the use of the blkid cache.
+
+This cache is a broken concept and should not be used. It&#39;s only
+intended to be used for LABEL/UUID conversion.</pre></div></div></blockquote><div>Please add a comment in the code :) </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
+
+<div><div><pre>
+>From the upstream maintainer:
+&lt;kzak&gt; coling: -p provides more information, the cache is designed for
+LABEL/UUID conversion -- and the goal is to avoid the cache if possible
+(it&#39;s mostly for backward compatibility). The ideal solution is to read
+the information from udev DB.
+&lt;kzak&gt; coling: man blkid (at least the latest version contains some hint
+about this issue)
+&lt;kzak&gt; coling: I&#39;d like to learn people to use lsblk -- it&#39;s designed
+more friendly for end-users as well as for scripts and it reads info
+from udev, libblkid is only fallback here.
+
+Longer term we should kill off the use of blkid and perhaps move to
+lsblk or some perl-udev (if such a thing exists) usage instead:
+
+&lt;kay&gt; coling: avoid the blkid cache, it is a completely broken idea
+&lt;kay&gt; kzak: you should really kill that thing :)
+&lt;kzak&gt; kay: I&#39;d like to kill blkid at all and keep it as &quot;to test the
+library&quot; binary...
+&lt;kay&gt; kzak: tools with options like that talk for their sanity
+themselves :) &quot; -g Perform a garbage collection pass on the blkid
+cache to remove devices which no longer exist.&quot;
+&lt;kay&gt; kzak: it&#39;s just silly, really silly to ever do that :)
+&lt;kay&gt; kzak: yeah, sounds fine to let blkid and its cache die in the long
+run
+&lt;kzak&gt; lsblk is maintainable and extendable -- fix blkid(8) is
+impossible to fix...
+
+This reverts r6891.</pre>
+
+<h3>Modified Paths</h3>
+<ul>
+<li><a href="#13cd91629257f7c0_drakxtrunkperlinstallNEWS">drakx/trunk/perl-install/NEWS</a></li>
+<li><a href="#13cd91629257f7c0_drakxtrunkperlinstallfstypepm">drakx/trunk/perl-install/fs/type.pm</a></li>
+<li><a href="#13cd91629257f7c0_drakxtrunkperlinstallinstallNEWS">drakx/trunk/perl-install/install/NEWS</a></li>
+</ul>
+
+</div>
+<div><pre><a>Modified: drakx/trunk/perl-install/NEWS</a>
+===================================================================
+--- drakx/trunk/perl-install/NEWS 2013-02-14 01:39:37 UTC (rev 7323)
++++ drakx/trunk/perl-install/NEWS 2013-02-14 14:22:44 UTC (rev 7324)
+@@ -1,3 +1,5 @@
++- always bypass blkid cache (the cache only includes a subset of the data we need)
++
+ Version 15.19 - 16 January 2013
+
+ - update translations
+
+<a>Modified: drakx/trunk/perl-install/fs/type.pm</a>
+===================================================================
+--- drakx/trunk/perl-install/fs/<a href="http://type.pm" target="_blank">type.pm</a> 2013-02-14 01:39:37 UTC (rev 7323)
++++ drakx/trunk/perl-install/fs/<a href="http://type.pm" target="_blank">type.pm</a> 2013-02-14 14:22:44 UTC (rev 7324)
+@@ -273,7 +273,7 @@
+
+ my %h = map {
+ if_(/(.*?)=(.*)/, $1 =&gt; $2);
+- } run_program::get_stdout_raw({ timeout =&gt; 30 }, &#39;blkid&#39;, &#39;2&gt;&#39;, &#39;/dev/null&#39;, &#39;-o&#39;, &#39;udev&#39;, devices::make($part-&gt;{device}));
++ } run_program::get_stdout_raw({ timeout =&gt; 30 }, &#39;blkid&#39;, &#39;2&gt;&#39;, &#39;/dev/null&#39;, &#39;-o&#39;, &#39;udev&#39;, &#39;-p&#39;, devices::make($part-&gt;{device}));
+
+ \%h;
+ }
+
+<a>Modified: drakx/trunk/perl-install/install/NEWS</a>
+===================================================================
+--- drakx/trunk/perl-install/install/NEWS 2013-02-14 01:39:37 UTC (rev 7323)
++++ drakx/trunk/perl-install/install/NEWS 2013-02-14 14:22:44 UTC (rev 7324)
+@@ -1,3 +1,5 @@
++- always bypass blkid cache (the cache only includes a subset of the data we need)
++
+ Version 15.20 - 21 January 2013
+
+ - use modprobe instead of insmod (mga#8676)
+
+</pre></div>
+
+</div>
+</blockquote></div><br>
diff --git a/zarb-ml/mageia-dev/attachments/20130214/7ed5ad66/attachment.html b/zarb-ml/mageia-dev/attachments/20130214/7ed5ad66/attachment.html
new file mode 100644
index 000000000..a06155320
--- /dev/null
+++ b/zarb-ml/mageia-dev/attachments/20130214/7ed5ad66/attachment.html
@@ -0,0 +1,103 @@
+On Thu, Feb 14, 2013 at 2:22 PM, <span dir="ltr">&lt;<a href="mailto:root@mageia.org" target="_blank">root@mageia.org</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
+
+<u></u>
+
+
+
+
+<div>
+
+
+<div>
+<dl>
+<dt>Revision</dt> <dd>7324</dd>
+<dt>Author</dt> <dd>colin</dd>
+<dt>Date</dt> <dd>2013-02-14 15:22:44 +0100 (Thu, 14 Feb 2013)</dd>
+</dl>
+
+<h3>Log Message</h3>
+<pre>(call_blkid) always bypass blkid cache
+
+This reverts the use of the blkid cache.
+
+This cache is a broken concept and should not be used. It&#39;s only
+intended to be used for LABEL/UUID conversion.</pre></div></div></blockquote><div>Please add a comment in the code :) </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
+
+<div><div><pre>
+>From the upstream maintainer:
+&lt;kzak&gt; coling: -p provides more information, the cache is designed for
+LABEL/UUID conversion -- and the goal is to avoid the cache if possible
+(it&#39;s mostly for backward compatibility). The ideal solution is to read
+the information from udev DB.
+&lt;kzak&gt; coling: man blkid (at least the latest version contains some hint
+about this issue)
+&lt;kzak&gt; coling: I&#39;d like to learn people to use lsblk -- it&#39;s designed
+more friendly for end-users as well as for scripts and it reads info
+from udev, libblkid is only fallback here.
+
+Longer term we should kill off the use of blkid and perhaps move to
+lsblk or some perl-udev (if such a thing exists) usage instead:
+
+&lt;kay&gt; coling: avoid the blkid cache, it is a completely broken idea
+&lt;kay&gt; kzak: you should really kill that thing :)
+&lt;kzak&gt; kay: I&#39;d like to kill blkid at all and keep it as &quot;to test the
+library&quot; binary...
+&lt;kay&gt; kzak: tools with options like that talk for their sanity
+themselves :) &quot; -g Perform a garbage collection pass on the blkid
+cache to remove devices which no longer exist.&quot;
+&lt;kay&gt; kzak: it&#39;s just silly, really silly to ever do that :)
+&lt;kay&gt; kzak: yeah, sounds fine to let blkid and its cache die in the long
+run
+&lt;kzak&gt; lsblk is maintainable and extendable -- fix blkid(8) is
+impossible to fix...
+
+This reverts r6891.</pre>
+
+<h3>Modified Paths</h3>
+<ul>
+<li><a href="#13cd91629257f7c0_drakxtrunkperlinstallNEWS">drakx/trunk/perl-install/NEWS</a></li>
+<li><a href="#13cd91629257f7c0_drakxtrunkperlinstallfstypepm">drakx/trunk/perl-install/fs/type.pm</a></li>
+<li><a href="#13cd91629257f7c0_drakxtrunkperlinstallinstallNEWS">drakx/trunk/perl-install/install/NEWS</a></li>
+</ul>
+
+</div>
+<div><pre><a>Modified: drakx/trunk/perl-install/NEWS</a>
+===================================================================
+--- drakx/trunk/perl-install/NEWS 2013-02-14 01:39:37 UTC (rev 7323)
++++ drakx/trunk/perl-install/NEWS 2013-02-14 14:22:44 UTC (rev 7324)
+@@ -1,3 +1,5 @@
++- always bypass blkid cache (the cache only includes a subset of the data we need)
++
+ Version 15.19 - 16 January 2013
+
+ - update translations
+
+<a>Modified: drakx/trunk/perl-install/fs/type.pm</a>
+===================================================================
+--- drakx/trunk/perl-install/fs/<a href="http://type.pm" target="_blank">type.pm</a> 2013-02-14 01:39:37 UTC (rev 7323)
++++ drakx/trunk/perl-install/fs/<a href="http://type.pm" target="_blank">type.pm</a> 2013-02-14 14:22:44 UTC (rev 7324)
+@@ -273,7 +273,7 @@
+
+ my %h = map {
+ if_(/(.*?)=(.*)/, $1 =&gt; $2);
+- } run_program::get_stdout_raw({ timeout =&gt; 30 }, &#39;blkid&#39;, &#39;2&gt;&#39;, &#39;/dev/null&#39;, &#39;-o&#39;, &#39;udev&#39;, devices::make($part-&gt;{device}));
++ } run_program::get_stdout_raw({ timeout =&gt; 30 }, &#39;blkid&#39;, &#39;2&gt;&#39;, &#39;/dev/null&#39;, &#39;-o&#39;, &#39;udev&#39;, &#39;-p&#39;, devices::make($part-&gt;{device}));
+
+ \%h;
+ }
+
+<a>Modified: drakx/trunk/perl-install/install/NEWS</a>
+===================================================================
+--- drakx/trunk/perl-install/install/NEWS 2013-02-14 01:39:37 UTC (rev 7323)
++++ drakx/trunk/perl-install/install/NEWS 2013-02-14 14:22:44 UTC (rev 7324)
+@@ -1,3 +1,5 @@
++- always bypass blkid cache (the cache only includes a subset of the data we need)
++
+ Version 15.20 - 21 January 2013
+
+ - use modprobe instead of insmod (mga#8676)
+
+</pre></div>
+
+</div>
+</blockquote></div><br>