Re: kernel.bkbits.net off the air

From: Andrea Arcangeli
Date: Thu Nov 13 2003 - 09:54:26 EST


On Wed, Nov 12, 2003 at 10:35:22PM +0100, Benoit Poulot-Cazajous wrote:
> Andrea Arcangeli <andrea@xxxxxxx> writes:
>
> > the usual problem, and the reason we need a sequence number (increased
> > before and after the repo update). A file lock not.
>
> Or a file that contains md5sums of the other files in the tree.
> After the rsync, you recompute the md5sums file, and if it does not match,
> rsync again. As a bonus feature, the md5sums file can be pgp-signed.

agreed, this would work too and it has the advantage of working with the
mirrors too as far as the per-file updates are atomic (should always be
the case). This has the only disavanage of forcing the client and the
server to read all file contents (I normally don't rsync with -c). But
if it simplifies life a lot, it's sure acceptable.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/