hardlink bug in 2.6.4?

Wayne Davison wayned at samba.org
Sat Apr 23 03:01:50 GMT 2005

On Fri, Apr 22, 2005 at 09:50:57PM -0400, Erik Jan Tromp wrote:
> Waitaminit! Just had a thought while proofreading this novella. Since
> the 'update files/dirs' & 'update hardlinks' steps appear to be mixed
> together instead of completely separate/sequential steps, what about
> the 'No such file or directory' error actually complaining about the
> destination _directories_ for the hardlinks being missing (at the
> time)?

Yes, I think that this sounds like what is going wrong.  In 2.6.4, rsync
tries to be a little more optimized about when it links the file-groups
together (instead of doing it all at the end), but the current algorithm
could fail if some of the dirs don't exist yet.  Thanks!  I'll look into
fixing this.


More information about the rsync mailing list