DO NOT REPLY [Bug 3693] rsync -H should break outdated hard-links to identical files

samba-bugs at samba.org samba-bugs at samba.org
Wed Nov 18 22:31:17 MST 2009


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


matt at mattmccutchen.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #3129 is|0                           |1
           obsolete|                            |




------- Comment #9 from matt at mattmccutchen.net  2009-11-18 23:31 CST -------
Created an attachment (id=4964)
 --> (https://bugzilla.samba.org/attachment.cgi?id=4964&action=view)
Updated man page patch

This patch revises the --hard-links description to describe both cases
(nonempty destination and --link-dest), intentionally leaving open the
possibility of more (I had --detect-renamed-lax without --delete in mind but
didn't want to mention it on the trunk).  I also took the opportunity to revise
the --inplace description.  For posterity, here is the tug-of-war case I
mentioned:

$ mkdir src dest
$ touch dest/1
$ ln dest/1 dest/2
$ echo foo >src/1
$ echo blort >src/2
$ rsync -rt --inplace -i src/ dest/
.d..t...... ./
>f.st...... 1
>f.st...... 2
$ rsync -rt --inplace -i src/ dest/
>f.st...... 1
$ rsync -rt --inplace -i src/ dest/
>f.st...... 2
$ rsync -rt --inplace -i src/ dest/
>f.st...... 1
$ rsync -rt --inplace -i src/ dest/
>f.st...... 2


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


More information about the rsync mailing list