Viktor Horvath
2003-Jun-03 19:35 UTC
Local copy (root to mounted subdir) wanted - protocol error in io.c
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 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 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. Have a nice day, Viktor. _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
jw schultz
2003-Jun-03 19:46 UTC
Local copy (root to mounted subdir) wanted - protocol error in io.c
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 theA 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 OSYou 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@pegasys.ws Remember Cernan and Schmitt