Gentoo Archives: gentoo-dev

From: Francesco Riosa <francesco@×××××××××.it>
To: gentoo-dev@××××××××××××.org
Subject: Re: [gentoo-dev] Proposal for an alternative portage tree sync method
Date: Tue, 22 Mar 2005 13:22:30
Message-Id: 42401C08.8000308@pnpitalia.it
In Reply to: Re: [gentoo-dev] Proposal for an alternative portage tree sync method by Daniel Drake
1 Daniel Drake ha scritto:
2
3 > Ricardo Correia wrote:
4 >
5 >> Hi,
6 >> Please read the following proposal, I think you'll be interested:
7 >>
8 >> http://forums.gentoo.org/viewtopic-p-2218914.html
9 >
10 >
11 > So on every sync, you have to download the entire 260mb ISO file?
12 >
13 > I don't think our mirrors would be very happy about that.
14 >
15 > Daniel
16
17 After a fast read of what Ricardo Correia wrote I think reload the
18 entire *26* Mb iso file is *not* needed. Maybe quoting the "What is
19 zsync?" description from the homepage http://zsync.moria.org.uk/ could
20 be explanatory
21
22 <quote>
23 zsync is a file transfer program. It allows you to download a file from
24 a remote web server, where you have a copy of an older version of the
25 file on your computer already. zsync downloads only the new parts of the
26 file. It uses the same algorithm as rsync <http://rsync.samba.org/>.
27
28 zsync does not require any special server software or a shell account on
29 the remote system (rsync, in comparison, requires that you have an rsh
30 or ssh account, or that the remote system runs rsyncd). Instead, it uses
31 a control file — a |.zsync| file — that describes the file to be
32 downloaded and enables zsync to work out which blocks it needs. This
33 file can be created by the admin of the web server hosting the download,
34 and placed alongside the file to download — it is generated once, then
35 any downloaders with zsync can use it. Alternatively, anyone can
36 download the file, make a .zsync and provide it to other users (this is
37 what I am doing for the moment).
38
39 zsync is currently no more than an alpha. I have tried to make it quite
40 verbose, so it is clear what it is doing, and the checksum verification
41 and file handling are designed to minimise the risk of it losing any
42 data. It works well enough for me.
43 </quote>
44
45 regards
46 Francesco
47
48
49 --
50 gentoo-dev@g.o mailing list

Replies