[WBEL-users] rsync mirror down ?

Kirby C. Bohling kbohling@birddog.com
Wed, 22 Sep 2004 13:37:38 -0500

On Wed, Sep 22, 2004 at 10:48:56AM -0500, Vincent.Raffensberger@dtn.com wrote:
> I found that the '::' in 
> 'rsync://mirror.physics.ncsu.edu::whitebox/3.0/en' is causing this.
> Using 'rsync://mirror.physics.ncsu.edu/whitebox/3.0/en' works fine.
> Something must have changed at NCSU, because it worked fine until last 
> week.

Or you applied the update a couple of days ago.  Rsync just recently
changed.  You are combined two different syntax (I've never seen
that work).  WBEL just released a new rsync (it was built Sept 15
2004, not sure when it was available to the public).

One is the URL syntax, which is my preferred syntax.  The other is
the rsync only style syntax (it's very similar to the scp syntax).
You can do either:




However, you shouldn't ever do both.  The problem is/was that the
":" in URL syntax is reserved for the port number to follow it.  The
reason it was always port "0", is that probably atol() of the thing
between the colons is "0".

The man page covers it first thing:

rsync [OPTION]... rsync://[USER@]HOST[:PORT]/SRC [DEST]

Oddly, there does seem to be a two contradictory portions of the man

This portion seems to indicate that your usage is correct:

       Using  rsync  in  this  way is the same as using it with a remote shell
       except that:

       o      you use a double colon :: instead of a single colon to separate
              the hostname from the path or a rsync:// URL.

This usage appears to be what I am familiar with:
              This tells rsync that it is to run as a daemon.  The daemon  may
              be  accessed using the host::module or rsync://host/module/ syn-