Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: rsync 'inplace' option separates resource forks System 10.4
Tiger only hintTiger's rsync command is said to "support resource forks properly," but be careful not to use its inplace option. Using the inplace option will make rsync ignore the -E and --extended-attributes options, thus separating resource forks into invisible files. This behavior is not documented in the man pages.
    •    
  • Currently 2.25 / 5
  You rated: 4 / 5 (4 votes cast)
 
[11,185 views]  

10.4: rsync 'inplace' option separates resource forks | 6 comments | Create New Account
Click here to return to the '10.4: rsync 'inplace' option separates resource forks' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: rsync 'inplace' option separates resource forks
Authored by: jmdevaney on Jun 10, '05 12:12:57PM

the current version of rsync that ships with Tiger fails everytime I try to use it or copies all resources on every run even when I file has not changed.

I have a bug report files with apple but have heard nothing back from them.

---
Jdevaney



[ Reply to This | # ]
10.4: rsync 'inplace' option separates resource forks
Authored by: gmartin on Jun 10, '05 10:08:58PM

Just to confirm with jmdevaney, the current version of rsync (Tiger 10.4.1) also fails (segmentation fault) for me. It seems to run ok for small chunks of a file structure, but if I try to use it to clone / it falls over part way through generating the file catalogue. I'd recommend installing RsyncX for now; works very well and is reliable. I think access lists are the only new Tiger feature it's missing, and you're unlikely to bump into those unless your running server or have set up funky permissions yourself.



[ Reply to This | # ]
10.4: rsync 'inplace' option separates resource forks
Authored by: steffi on Jun 10, '05 11:34:26PM

Yes it always results in a bus error whenever using --extended-attributes

I'm surprised Apple hasn't addressed this yet. It's quite annoying to not
be able to use rsync to back up metadata.



[ Reply to This | # ]
10.4: rsync 'inplace' option separates resource forks
Authored by: bdm on Jun 11, '05 01:55:47AM

The new rsync has never crashed for me, and I use it quite a lot. However, as noted above by jmdevaney, if you specify --extended-attributes, the resource fork is copied regardless of modification times. This makes it useless for incremental backups. One can hope that this is not a feature but a bug that Apple will fix.



[ Reply to This | # ]
10.4: rsync 'inplace' option separates resource forks
Authored by: name99 on Jun 21, '05 04:02:32PM

I have found that it doesn't fail but, even worse, it silently does not copy over files. I ran it three times, and each time it copied over more files, but, after three iterations, it was still 10GiB short. As far as I can tell it's a complete piece of junk in this rev.
And this was not an especially demanding situation. Local disks, a single volume, no weirdness with either extended attributes or hard links in the source file system; absolutely no excuse for failing.



[ Reply to This | # ]
10.4: rsync Bus Error with -E flag
Authored by: TigerKR on Sep 09, '05 09:22:19PM

I get a bus error every time I try to run rsync on 10.4.2. But only when I use the -E flag.

macuser$ sudo rsync -aEv --delete /Users/macuser/ /Volumes/Backup/macuser/
building file list ... done
Bus error
rsync: writefd_unbuffered failed to write 85 bytes: phase "unknown" [receiver]: Broken pipe (32)
rsync error: error in rsync protocol data stream (code 12) at /SourceCache/rsync/rsync-20/rsync/io.c(909)



[ Reply to This | # ]