wrote the following on Wed, 17 Dec 2003 21:35:50 -0600
I have attached a diff against 0.13.3 that implements full support for
Mac metadata as I proposed on this list a month or so ago.
Specifically, it adds storage of:
* 4-byte creator
* 4-byte type
* integer flags
* dual integer location
Combined with the existing resource fork code, this makes rdiff-backup
fully capable of backing up any MacOS X machine to any machine
rdiff-backup supports, independant of whether the destination supports
this information. It can also perform a full restore from the
destination using this knowledge. I have successfully backed up data
files lacking extensions (where this info is the only way the Mac knows
how to open them) and actual applications.
I have tested backups and restores with this code in the following
scenarios:
* Backing up Mac to Mac (support on both ends)
* Backing up Mac to Linux (support on source only)
* Backing up Linux to Linux (support on neither)
Really, like the other metadata, whether or not the destination supports
it is irrelevant, since it all goes into the metadata file anyway.
This is known to work with Panther. YMMV on earlier versions, though it
should work there too.
Awesome! This looks like a great contribution that will really help
any mac/rdiff-backup users. I will skim it soon and check it in if
there are no big problems.
Sorry to have taken so long to notice this. (Although if I thought
stuff like this was waiting for me on the list I might not have taken
so long
--
Ben Escoto
