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

View: New views
2 Messages — Rating Filter:   Alert me  

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

by Carlos Carvalho-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

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

by Matt McCutchen-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html