[Bug 8456] improve --link-dest bahaviour

samba-bugs at samba.org samba-bugs at samba.org
Wed Sep 14 09:44:28 MDT 2011


https://bugzilla.samba.org/show_bug.cgi?id=8456

--- Comment #3 from Kevin Korb <rsync at sanitarium.net> 2011-09-14 15:44:28 UTC ---
The simple fact is that two links to the same inode are not 2 different files
but the same file.  Their attributes by definition are the same.  They cannot
have different time stamps.

If you tell rsync to synchronize time stamps then it will update the time stamp
in the target.  It cannot do that and maintain the time stamp in the link-dest
(which is read only as far as rsync is concerned) at the same time.  This is
simply impossible.

Note that if you do not synchronize timestamps the result would be pretty much
the same as --ignore-times which would probably be a bigger problem for you.

The only thing rsync could possibly do would be to add an option to allow for
minor changes to affect the files within the link-dest (and probably other
previously used link-dests).

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the rsync mailing list