rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] [PATCH] Full Support for Mac metadata


From: John Goerzen
Subject: [rdiff-backup-users] [PATCH] Full Support for Mac metadata
Date: Wed, 17 Dec 2003 21:35:50 -0600
User-agent: Mutt/1.5.4i

Ben et al,

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.

Ben, if you have any trouble applying to your tree, please let me know.

I am confident enough that this works that I've added it to the Debian
rdiff-backup package as well :-)

Arch/tla users may pull
address@hidden/rdiff-backup--jgoerzen--0.13 from
http://arch.complete.org/projects.

-- John

Attachment: rdiff-mac.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]