Local copy (root to mounted subdir) wanted - protocol error in io.c

jw schultz jw at pegasys.ws
Tue Jun 3 19:46:15 EST 2003


On Tue, Jun 03, 2003 at 11:35:48AM +0200, Viktor Horvath wrote:
> Hello everybody,
> 
> maybe someone has also had this issue:
> 
> I try to copy the root partition "/" to a subdir "/Volumes/System". This is 
> not a cyclic recursion, because "/Volumes/System" is a mounted hard disk 
> partition. So I gave rsync the parameters "-x" for one-file-system, and 
> '--exclude "/Volumes/" ' also:
> 
> # rsync -ax --showtogo --stats --exclude "/Volumes/" / /Volumes/System
> 
> But I get a protocol error (broken pipe) in io.c. When copying all the 

A broken pipe means that the process on the other end of the
pipe died.  "broken pipe" is not the error message that
means anything.  It is the error message (if any) from the
process that died that matters.

> subdirectories manually, everything works, so I think he tries toa void a 
> cyclic copy.
> 
> (I'm using rsync 2.5.5, or rather rsyncx 1.7d, a special version for Mac OS 

You need to contact the supplier of this modified rsync.  We
cannot support binaries made from modified sources.
Alternatively download and build rsync 2.5.6, or better the
version in CVS.

> X.  I've booted the computer from a FireWire harddisk, and I try to clone 
> that boot partition to the local harddrive already having many of the 
> files).
> 
> If someone has made a local copy like this - with or without success - I'd 
> be thankful for an answer.

This sort of thing is done all the time for making backups
using vanilla rsync on Unix, Linux and even cygwin.

-- 
________________________________________________________________
	J.W. Schultz            Pegasystems Technologies
	email address:		jw at pegasys.ws

		Remember Cernan and Schmitt



More information about the rsync mailing list