2. Next we add support for fclonefileat using cp: improve use of fclonefileat A few more tests fail. 3. We fix those tests using the patch from your last mail. Then we have to disable the following test on macOS: FAIL: tests/cp/thru-dangling.sh Final results: copying sparse-files on macOS no longer produces corrupted copies. Performance is greatly optimised by cloning instead of copying, where possible. The following two tests now fail on macOS and will be disabled: FAIL: tests/cp/sparse-perf.sh FAIL: tests/cp/thru-dangling.sh Looks good to me. Yes, please add me to the commit history. Also feel free to add my web site if appropriate. Finally please let me know when the patches are pushed, so that I can update OpenWRT to use the latest version of coreutils. Pádraig and Paul, thank you very much for your kind help! It was nice working with you and learning new experience. Cheers, mates! Georgi Valkov httpstorm.com nano RTOS