how can this be: "file has vanished" in --list-only?

Matt McCutchen matt at mattmccutchen.net
Thu Oct 15 16:32:40 MDT 2009


On Thu, 2009-10-15 at 17:40 -0300, Carlos Carvalho wrote:
> I'm getting "file has vanished" messages during a (recursive)
> --list-only. I find it strange because I'd expect rsync to access each
> file only once when just sending the receiver the file list.

There's still a small gap between the "readdir" that returns a file's
name and the "stat" on that file.  I bet that's what you're seeing.  If
you want to know for sure, you can strace rsync.

-- 
Matt



More information about the rsync mailing list