Partial file creation tripping up on aufs volume - tries to use a reserved name

Wayne Davison wayned at
Mon Feb 24 11:35:10 MST 2014

On Fri, Feb 21, 2014 at 8:14 AM, OmegaPhil <omegaphil at> wrote:

> Other than ignoring the problem and using --inplace, it doesnt look like I
> can influence how rsync names its temporary files - is this worth a feature
> request?

Outside of using --inplace, you can only request that rsync put its temp
files into a different directory (--temp-dir=FOO), but that isn't that nice
of an option to use if the temp-dir isn't on the same filesystem as the
destination dirs (since it's best to be able to rename the files into place
w/o copying).

An option to change the prefix from "." to something else might be
reasonable.  Or you could look at the get_tmpname() function in receiver.c
and tweak this line to use some other single character (e.g. ':', '_', or

 fnametmp[length++] = '.';

That would allow you to do your copying w/o error at least.  If you want to
make it longer than a single char, the code would need to change to check
if the extra chars would fit w/o overflow.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the rsync mailing list