file contents cause rsync to fail (with certains args and dir structure)

Ben RUBSON ben.rubson at gmail.com
Mon Mar 5 10:18:10 UTC 2018


On 05 Mar 2018 11:14, Dave Gordon via rsync wrote:

> Problem was introduced with this commit:
>
> commit f3873b3d88b61167b106e7b9227a20147f8f6197
> Author: Wayne Davison <wayned at samba.org>
> Date:   Mon Oct 10 11:49:50 2016 -0700
>
>     Support --sparse combined with --preallocate or --inplace.
>
>     The new code tries to punch holes in the destination file using newer
>     Linux fallocate features. It also supports a --whole-file + --sparse +
>     --inplace copy on any filesystem by truncating the destination file.

Workaround could then perhaps be to recompile disabling fallocate support  
on Linux systems.
Other platforms (FreeBSD...) should not then be impacted.

Ben



More information about the rsync mailing list