are new directories created inside the partial dir?
Matt McCutchen
matt at mattmccutchen.net
Tue Jul 14 22:00:20 MDT 2009
On Tue, 2009-07-14 at 17:31 -0300, Carlos Carvalho wrote:
> From a quick look at generator.c it seems partial-dir applies only to
> regular files (partialptr = NULL in line 1767), which means that
> some/path/newdir/newfile is created at
> some/path/newdir/<partial-dir-name>/newfile.
Correct.
> It also appears that delay-updates only happens for regular files, and
> other types are created immediately, right?
Correct. I didn't realize that is the current behavior; I had assumed
that since the purpose of --delay-updates is to make the visible change
to the destination closer to atomic, it would affect all
non-directories. I'll enter a bug for that if I get a chance.
--
Matt
More information about the rsync
mailing list