Hi All, I have been reading about the HFS+ filesystem compression on Snow Leopard and how copying or cloning over system files with rsync and other tools results in them being expanded on destination. I was wondering if there was any thoughts on updating rsync to accommodate this? It is kind of a shame to the lose the benefits of the new compression. Thanks, Rob
Robert DuToit wrote:> I have been reading about the HFS+ filesystem compression on Snow Leopard > and how copying or cloning over system files with rsync and other tools > results in them being expanded on destination. I was wondering if there > was any thoughts on updating rsync to accommodate this? It is kind of a > shame to the lose the benefits of the new compression.Any compression that happens within the filesystem layer itself is not visible to client applications. If you use any file copying tool to synchronize a source and destination, and the source is on a compressed filesystem, the solution to preserving the compression is to enable compression on the destination filesystem. --Kyle
Hi Rob: I posted a patch several months ago (October 28, to be specific) that offers HFS+ compression support for rsync. It's OS-specific, so I don't expect the rsync team to maintain the patch, but I'll be keeping it as up to date as I can. Right now it's built and tested against rsync 3.0.6. Mike On May 18, 2010, at 6:59 PM, Robert DuToit wrote:> Hi All, > I have been reading about the HFS+ filesystem compression on Snow Leopard and how copying or cloning over system files with rsync and other tools results in them being expanded on destination. I was wondering if there was any thoughts on updating rsync to accommodate this? It is kind of a shame to the lose the benefits of the new compression. Thanks, Rob > > > -- > Please use reply-all for most replies to avoid omitting the mailing list. > To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Hi Mike, I guess I did something wrong or removing that line 283 in proto.h was critical I ran fileflags and crtimes patches first and then rsync_3.0.6-hfs-compression_20091027.diff but the test shows no go. Sub-test: decmpfs xattr ... not preserved Sub-test: UF_COMPRESSED flag ... not set Thanks, rob