Carlos Carvalho
2009-Oct-15 20:40 UTC
how can this be: "file has vanished" in --list-only?
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. In which circumstances can this happen? This is with 3.0.6 in linux.
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