diff options
Diffstat (limited to 'zarb-ml/mageia-dev/20101129/001480.html')
-rw-r--r-- | zarb-ml/mageia-dev/20101129/001480.html | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/20101129/001480.html b/zarb-ml/mageia-dev/20101129/001480.html new file mode 100644 index 000000000..167bcb349 --- /dev/null +++ b/zarb-ml/mageia-dev/20101129/001480.html @@ -0,0 +1,94 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] Mirror layout, round two + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Mirror%20layout%2C%20round%20two&In-Reply-To=%3C20101129004535.GV7479%40virgo.home.nanardon.zarb.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="001492.html"> + <LINK REL="Next" HREF="001518.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Mirror layout, round two</H1> + <B>Olivier Thauvin</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Mirror%20layout%2C%20round%20two&In-Reply-To=%3C20101129004535.GV7479%40virgo.home.nanardon.zarb.org%3E" + TITLE="[Mageia-dev] Mirror layout, round two">nanardon at nanardon.zarb.org + </A><BR> + <I>Mon Nov 29 01:45:35 CET 2010</I> + <P><UL> + <LI>Previous message: <A HREF="001492.html">[Mageia-dev] Mirror layout, round two +</A></li> + <LI>Next message: <A HREF="001518.html">[Mageia-dev] Mirror layout, round two +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#1480">[ date ]</a> + <a href="thread.html#1480">[ thread ]</a> + <a href="subject.html#1480">[ subject ]</a> + <a href="author.html#1480">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>* Renaud MICHEL (<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">r.h.michel+mageia at gmail.com</A>) wrote: +><i> On samedi 27 novembre 2010 at 00:02, Maarten Vanraes wrote : +</I>><i> If the files are identical, they can be hard linked, and then the mirrors +</I>><i> updates them with rsync -aH. +</I>><i> (by the way, the readme already ask for those options +</I>><i> <A HREF="http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/mirror.readme">http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/mirror.readme</A> ) +</I>><i> It is quite easy to make a script that will make those hard links "à +</I>><i> posteriori" (you only need to compare files with identical names) +</I> +If you compare only the filename you'll probably link different file. To +do this you need at least to compare also the size. +But even if you take into account the size nothing warranty file are +really the same. Think to md5sum files, an md5 has fixed size and +filename will probably also have same lenght. + +I did a script to do this, this script check the md5 of +files before linking them to avoid mistake. + +BTW: I am not sure rsync fix hard link afterward. + +-- + +Olivier Thauvin +CNRS - LATMOS +♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖ +-------------- next part -------------- +A non-text attachment was scrubbed... +Name: not available +Type: application/pgp-signature +Size: 197 bytes +Desc: not available +URL: </pipermail/mageia-dev/attachments/20101129/0ff30e28/attachment-0001.asc> +</PRE> + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="001492.html">[Mageia-dev] Mirror layout, round two +</A></li> + <LI>Next message: <A HREF="001518.html">[Mageia-dev] Mirror layout, round two +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#1480">[ date ]</a> + <a href="thread.html#1480">[ thread ]</a> + <a href="subject.html#1480">[ subject ]</a> + <a href="author.html#1480">[ 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> |