[Bug 2389] block/character devices on Solaris yield wacky rsync stats

samba-bugs at samba.org samba-bugs at samba.org
Fri Feb 25 02:35:35 GMT 2005


------- Additional Comments From wayned at samba.org  2005-02-24 19:35 -------
Created an attachment (id=982)
 --> (https://bugzilla.samba.org/attachment.cgi?id=982&action=view)
A simpler fix

I think a better/simpler fix is to tweak the code in flist.c where it adds up
the size of the transfer.  Currently it adds in the size of any non-directory. 
This should be changed to ignore devices at the very least.  However, since the
stat is the file size of the transfer, I think it might be best to ignore
symlinks too.  Here is a patch that ignores everything that is not a regular

Please let me know if this fixes the problem.

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