diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-July/003736.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2011-July/003736.html | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-July/003736.html b/zarb-ml/mageia-sysadm/2011-July/003736.html new file mode 100644 index 000000000..8d0dc0a6c --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-July/003736.html @@ -0,0 +1,97 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] changing binrepos + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20changing%20binrepos&In-Reply-To=%3CCA%2BCX%2Bbjh4KT2E6%3D_YG-Fgrkv3sU_SSC1cJSdPEKmGvr3bwv9yg%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="003735.html"> + <LINK REL="Next" HREF="003737.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] changing binrepos</H1> + <B>Pascal Terjan</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20changing%20binrepos&In-Reply-To=%3CCA%2BCX%2Bbjh4KT2E6%3D_YG-Fgrkv3sU_SSC1cJSdPEKmGvr3bwv9yg%40mail.gmail.com%3E" + TITLE="[Mageia-sysadm] changing binrepos">pterjan at gmail.com + </A><BR> + <I>Fri Jul 15 15:20:50 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="003735.html">[Mageia-sysadm] changing binrepos +</A></li> + <LI>Next message: <A HREF="003737.html">[Mageia-sysadm] changing binrepos +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3736">[ date ]</a> + <a href="thread.html#3736">[ thread ]</a> + <a href="subject.html#3736">[ subject ]</a> + <a href="author.html#3736">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Fri, Jul 15, 2011 at 13:46, Colin Guthrie <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">mageia at colin.guthr.ie</A>> wrote: +><i> 'Twas brillig, and Sander Lepik at 15/07/11 07:14 did gyre and gimble: +</I>>><i> 15.07.2011 00:32, Colin Guthrie kirjutas: +</I>>>><i> +</I>>>><i> Just to be sure, why not make the file name "sha1sum-size", that way +</I>>>><i> you're massively decreasing the likelihood of an sha1sum clash. +</I>>>><i> +</I>>>><i> Col +</I>>>><i> +</I>>><i> Or %{name}-sha1sum - easy to search by package if needed. +</I>><i> +</I>><i> Nah, because that way, things that share sources (such as different +</I>><i> kernel packages) would not be able to get disk-space (on server side) +</I>><i> saving benefits and also some packages (I presume you intended %{name} +</I>><i> to be the one from the spec?) will have multiple binary sources. +</I>><i> +</I>><i> +</I>><i> +</I>><i> But now I think about it, if 2+ packages do share the same binary, how +</I>><i> do we know it's OK to actually delete the binary from the binrepos? We'd +</I>><i> have to check every single packages sha1.lst file to see if it used +</I>><i> it... that doesn't sound ideal.... +</I> +I think <original filename>-<sha1> would be good to avoid both +filename collision and sha1 collision while still sharing files +between packages +Regarding reference counting, I don't know the best way to do it :) + +In the original mail Nicolas said: +><i> - when a file is no longer used, it is only removed from sha1.lst, not +</I>><i> removed from the server +</I>><i> - If we want to save space, we can have a script to generate the list of +</I>><i> all used files from all packages, and remove files not in this list +</I></PRE> + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="003735.html">[Mageia-sysadm] changing binrepos +</A></li> + <LI>Next message: <A HREF="003737.html">[Mageia-sysadm] changing binrepos +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3736">[ date ]</a> + <a href="thread.html#3736">[ thread ]</a> + <a href="subject.html#3736">[ subject ]</a> + <a href="author.html#3736">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm +mailing list</a><br> +</body></html> |