File that "vanish"es between readdir and stat is not IO error
John Van Essen
vanes002 at umn.edu
Mon Jan 19 09:21:16 GMT 2004
Using rsync 2.6.0 with --verbose and doing a pull.
> receiving file list ... readlink "{FILENAME}" failed:
> No such file or directory
> done
> IO error encountered - skipping file deletion
The file was a temporary file that was being deleted just as
the rsync was run. So while the file list was being built,
it was there when the directory was read but had vanished
by the time the stat() was done to get the file details.
In make_file(), when readlink_stat() fails, if error is NOENT
then perhaps do the same that that send_files() now does and
report as vanished and set IOERR_VANISHED?
--
John Van Essen Univ of MN Alumnus <vanes002 at umn.edu>
More information about the rsync
mailing list