Re: PATCH: preserve osx creation-date (was: Using pre2 for backing up a mac)

2007-10-16 Thread Wesley W . Terpstra
On Oct 15, 2007, at 1:55 AM, Wayne Davison wrote: On Sun, Oct 14, 2007 at 08:14:57PM +0200, Wesley W. Terpstra wrote: I've attached a patch which does this. Currently resource forks and finder info get placed into an extended attribute transparently by osx (com.apple.{ResourceFork/FinderInfo})

Re: PATCH: preserve osx creation-date (was: Using pre2 for backing up a mac)

2007-10-15 Thread Wesley W. Terpstra
On Oct 15, 2007, at 5:07 PM, Victor Shoup wrote: What would be nice is if rsync supported this directly, with the shadow files (with names appropriately tweaked) stored in the same directory structure. This is essentially Apple's solution for dealing with foreign file systems that are mounte

Re: PATCH: preserve osx creation-date (was: Using pre2 for backing up a mac)

2007-10-15 Thread Victor Shoup
This is a general topic I'm interested in, as I rely on rsync to back up my mac osx files to a remote file server. Unfortunately, the file server is a sun workstation, and I don't know if it supports xattr's, or large xattr's that arise from resource forks, and I'm not sure if the sys admins

Re: PATCH: preserve osx creation-date (was: Using pre2 for backing up a mac)

2007-10-15 Thread Wesley W. Terpstra
On Oct 15, 2007, at 12:13 PM, Wesley W. Terpstra wrote: On Oct 15, 2007, at 1:55 AM, Wayne Davison wrote: The name of the attribute was changed to com.apple.crtime96 (for the moment) . Since it is not an official com.apple.* value, I didn't want to use a name that Apple might choose in the f

Re: PATCH: preserve osx creation-date (was: Using pre2 for backing up a mac)

2007-10-15 Thread Wesley W. Terpstra
On Oct 15, 2007, at 1:55 AM, Wayne Davison wrote: On Sun, Oct 14, 2007 at 08:14:57PM +0200, Wesley W. Terpstra wrote: I've attached a patch which does this. Currently resource forks and finder info get placed into an extended attribute transparently by osx (com.apple.{ResourceFork/FinderInfo})

Re: PATCH: preserve osx creation-date (was: Using pre2 for backing up a mac)

2007-10-14 Thread Wayne Davison
On Sun, Oct 14, 2007 at 08:14:57PM +0200, Wesley W. Terpstra wrote: > I've attached a patch which does this. Currently resource forks and finder > info get placed into an extended attribute transparently by osx > (com.apple.{ResourceFork/FinderInfo}). This patch makes another "extended > attribu

PATCH: preserve osx creation-date (was: Using pre2 for backing up a mac)

2007-10-14 Thread Wesley W. Terpstra
On Oct 13, 2007, at 4:07 PM, Wesley W. Terpstra wrote: rsync 3pre2 now handles all but three items: 1. bsd flags 2. "locked flag" (supposedly finder meta-data) 3. creation date The creation date is AFAIK a mac os specific piece of meta-data and can be accessed via the set/getattrlist + ATTR_CM