samba-bugs@samba.org
2005-Jun-09  16:42 UTC
[Bug 2781] rsync linked files not listed as uptodate
https://bugzilla.samba.org/show_bug.cgi?id=2781
wayned@samba.org changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
------- Additional Comments From wayned@samba.org  2005-06-09 09:34 -------
Rsync doesn't output "uptodate" for hardlinks, but it should be
outputting "is a
hard link" messages for the item instead of outputting its name.
The easiest way to partially work around the problem is to use the -i option. 
This switches over to the itemized list of changes, and the output will look
something like this:
[...].d        a/
.f        a/bar
hf....... a/foo
[...]
The only problem with that output is that the dots after the "hf"
(h=hard-link,
f=file, .=no-change in attribute) should really be spaces (which indicates that
an item was completely unchanged).
I'll attach a fix for these problems.
-- 
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.
samba-bugs@samba.org
2005-Jun-09  17:01 UTC
[Bug 2781] rsync linked files not listed as uptodate
https://bugzilla.samba.org/show_bug.cgi?id=2781 ------- Additional Comments From wayned@samba.org 2005-06-09 09:45 ------- Created an attachment (id=1266) --> (https://bugzilla.samba.org/attachment.cgi?id=1266&action=view) Fix the logging of hard-linked files when verbose is > 1 This patch fixes the aforementioned problems. I haven't tested it extensively enough to know for sure that it causes the correct output for all itemized update possibilities, so I really should add a test case to the testsuite dir to do that (hopefully soon). -- 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.
samba-bugs@samba.org
2005-Jun-09  18:41 UTC
[Bug 2781] rsync linked files not listed as uptodate
https://bugzilla.samba.org/show_bug.cgi?id=2781 ------- Additional Comments From idallen@idallen.ca 2005-06-09 11:35 ------- Your patch at least removed the huge number of incorrectly reported out-of-date files from the output. Thanks for the quick fix; I was drowning in output. -- 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.
samba-bugs@samba.org
2005-Jun-30  17:42 UTC
[Bug 2781] rsync linked files not listed as uptodate
https://bugzilla.samba.org/show_bug.cgi?id=2781
wayned@samba.org changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
------- Additional Comments From wayned@samba.org  2005-06-30 10:37 -------
I checked-in my fix into CVS a while back and added a test case to verify that
the -vv and --itemized output remains consistent.
-- 
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.
Seemingly Similar Threads
- [Bug 2781] New: rsync linked files not listed as uptodate
- DO NOT REPLY [Bug 5297] New: merge test fails
- -H option causes unneccessary transfers
- DO NOT REPLY [Bug 5470] New: Make check failures on Solaris 10 with rsync 3.0.3pre2
- mark_buffer_dirty() reports buffer_head is not uptodate in JBDroutine journal_create() in kernel 2.6.