Backing Up OS X to OpenBSD
November 3, 2005
[Cross posted to
Hey everyone, I just thought you’d want to know that it’s possible to compile the version of rsync that ships with 10.4.3 (found here) on OpenBSD 3.8 (x86) with the Apple patch that enables extended attributes.
To compile it, just grab the 2.6.3 version from Apple, apply the patch, do a ./configure –enable-ea-support, and compile it. I know it’s a bit behind the 2.3.6 version which ships with OpenBSD 3.8, but it does work.
With this I’m able to back up the HFS+ volumes on my Macs to an OpenBSD box and preserve resource forks. Woo!
Look:
$ ls -als
total 150696
4 drwxr-xr-x 2 c0nsumer c0nsumer 512 Nov 3 14:01 .
4 drwx------ 3 c0nsumer c0nsumer 512 Nov 3 14:00 ..
28 -rw-r--r-- 1 c0nsumer c0nsumer 12292 Sep 10 02:08 .DS_Store
4 -r-------- 1 c0nsumer c0nsumer 82 Sep 10 02:08 ._.DS_Store
44416 -rw-r--r-- 1 c0nsumer c0nsumer 22710505 Aug 23 11:34 01_PolkaMegamix.m4a
[...]
$