samba-bugs@samba.org
2005-Jul-31 12:00 UTC
[Bug 2933] New: regression with hardlinked devices
https://bugzilla.samba.org/show_bug.cgi?id=2933 Summary: regression with hardlinked devices Product: rsync Version: 2.6.5 Platform: All OS/Version: FreeBSD Status: NEW Severity: major Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: noreply@cpe-24-95-90-2.columbus.res.rr.com QAContact: rsync-qa@samba.org marked at elevated priority due to regression, feel free to change ;-] every tag present in NEWS,v from here... cvs co -D '2005-07-31 00:00:00-0000' back in time through here... cvs co -r release-2-6-4-pre3 exhibits the following regression... if the source inode is both a dev and a hardlink, it will not be hardlinked in the destination. to repeat: rm -r /wherever/dev/ rsync -Haxv --delete /dev/ /wherever/dev/ rsync -Haxv --delete /dev/ /wherever/dev/ ls -i /dev/ | awk '{print $1}' | sort | uniq -c | egrep -v '^ 1 ' ls -i /wherever/dev/ | awk '{print $1}' | sort | uniq -c | egrep -v '^ 1 ' rm -r dst ls -aliT src 17 crw-r--r-- 2 root wheel 2, 2 Jul 31 07:01:55 2005 devnulla 17 crw-r--r-- 2 root wheel 2, 2 Jul 31 07:01:55 2005 devnullb 16 -rw-r--r-- 2 root wheel 0 Jul 31 07:01:55 2005 filea 16 -rw-r--r-- 2 root wheel 0 Jul 31 07:01:55 2005 fileb ./rsync -Haxv --delete ./src/ ./dst/ building file list ... done created directory ./dst ./ devnulla devnullb fileb filea => fileb sent 195 bytes received 72 bytes 534.00 bytes/sec total size is 0 speedup is 0.00 ls -aliT dst 19 crw-r--r-- 1 root wheel 2, 2 Jul 31 07:01:55 2005 devnulla 20 crw-r--r-- 1 root wheel 2, 2 Jul 31 07:01:55 2005 devnullb 21 -rw-r--r-- 2 root wheel 0 Jul 31 07:01:55 2005 filea 21 -rw-r--r-- 2 root wheel 0 Jul 31 07:01:55 2005 fileb this issue is not present in... cvs co -r release-2-6-4-pre2 always happy to test patches. thx again. -- 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.