From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-April/013951.html | 98 +++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-April/013951.html (limited to 'zarb-ml/mageia-dev/2012-April/013951.html') diff --git a/zarb-ml/mageia-dev/2012-April/013951.html b/zarb-ml/mageia-dev/2012-April/013951.html new file mode 100644 index 000000000..051f4c8ea --- /dev/null +++ b/zarb-ml/mageia-dev/2012-April/013951.html @@ -0,0 +1,98 @@ + + + + [Mageia-dev] [soft-commits] [3964] Fix partition numbering on GPT (mga#3091) + + + + + + + + + +

[Mageia-dev] [soft-commits] [3964] Fix partition numbering on GPT (mga#3091)

+ Pascal Terjan + pterjan at gmail.com +
+ Fri Apr 6 13:07:22 CEST 2012 +

+
+ +
On Fri, Apr 6, 2012 at 09:34, Guillaume Rousse <guillomovitch at gmail.com>wrote:
+
+>
+> What about using consistent variable names ? If you have a collection of
+> 'something' stored in a hash, why should it suddenly became of collection
+> of 'st' when transfering them into an array ?
+
+
+In this case, the hash contains the existing partitions, hence %parts,
+while the array represents the full partition table, hence @pt
+
+Or using a consistent format for variables storing numbers, rather than
+> having both nb_foo and bar_number ?
+>
+
+nb_primary is the number of primary partitions (count if you prefer),
+part_number is the position of a given partition in the table.
+
+
+>
+> And I don't underestand the interest of using an hash for storing content
+> with numerical indexes only. Especially if you have to convert it to an
+> array at the end...
+
+
+To easily get the (potential) one with current index when filling the
+array. The other solution would be to first create the array with 128
+default structures, then replace some of them.
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-dev/attachments/20120406/919bd61d/attachment.html>
+
+ + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1