Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264314AbTKMPXb (ORCPT ); Thu, 13 Nov 2003 10:23:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264315AbTKMPXb (ORCPT ); Thu, 13 Nov 2003 10:23:31 -0500 Received: from ns.suse.de ([195.135.220.2]:970 "EHLO Cantor.suse.de") by vger.kernel.org with ESMTP id S264314AbTKMPX1 (ORCPT ); Thu, 13 Nov 2003 10:23:27 -0500 To: Andrea Arcangeli Cc: Benoit Poulot-Cazajous , Nick Piggin , Davide Libenzi , walt , linux-kernel@vger.kernel.org Subject: Re: kernel.bkbits.net off the air References: <3FB091C0.9050009@cyberone.com.au> <20031111150417.GF1649@x30.random> <03Nov13.095622cet.122129@mojo.it.advantest.de> <20031113145301.GJ1649@x30.random> From: Andreas Schwab X-Yow: Did we bring enough BEEF JERKY? Date: Thu, 13 Nov 2003 16:23:24 +0100 In-Reply-To: <20031113145301.GJ1649@x30.random> (Andrea Arcangeli's message of "Thu, 13 Nov 2003 15:53:01 +0100") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1366 Lines: 32 Andrea Arcangeli writes: > On Wed, Nov 12, 2003 at 10:35:22PM +0100, Benoit Poulot-Cazajous wrote: >> Andrea Arcangeli 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). This is not necessary, you only need to recompute the md5sums of changed files. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 N?rnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/