I've asked claude to update WayneD's original clone-dest patch for the
most recent rsync tree, you can find the updates here:
https://github.com/josephmaher/rsync/tree/clone-dest
I intend to keep this up to date with the main tree.
The diff is now fairly large, but if this was useful to anyone else I
would consider submitting it for consideration in the main tree.
- do_clone now mimics the symlink checks that do_link_at has.
- There are a bunch of tests to check that the reflinks are really made,
as well as tests mimicking all the link-dest tests.
- Tested on btrfs. If you run the tests as root, it will build mini
bcachefs/btrfs/xfs filesystems and run the tests there.
Joseph
--
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