DO NOT REPLY [Bug 4899] When a mounted dir cannot be visited, rsync will halt there and the shell is halted, even "ctrl -c" can't quit it.

samba-bugs at samba-bugs at
Tue Aug 21 11:00:38 GMT 2007

------- Comment #5 from hashproduct+rsync at  2007-08-21 06:00 CST -------
Created an attachment (id=2876)
 --> (
Alternative solution: check exclusion both ways

The attached patch gives an alternative way to fix the hanging without breaking
directory-specific exclude rules.  make_file calls is_exclude twice to
determine whether the file would be excluded if it is a directory and whether
it would be excluded if it isn't one.  If the file would be excluded either
way, make_file skips calling stat.

This solution has two disadvantages: the filter list is scanned twice (hurting
performance), and at -vv level, hypothetical "showing/hiding file/directory X
because of pattern Y" messages are printed.

Configure bugmail:
------- 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