rsync and file device
Matias Feliciano
feliciano.matias at free.fr
Mon May 3 23:41:57 UTC 2004
Very annoying bug with rsync.
It seams it has been introduced in rsync-2.6.1-0.pre1 . I don't see this
problem with FC2T1 (and perhaps FC2T2).
# rpm -q rsync
rsync-2.6.1-0.pre1
example :
# cd /
# rsync --archive dev /tmp/
# ll dev/vcs56 tmp/dev/vcs56
crw--w---- 1 vcsa tty 7, 56 fév 23 22:02 dev/vcs56
crw--w---- 1 vcsa tty 7, 14 fév 23 22:02 tmp/dev/vcs56
# ll dev/video1394/0 tmp/dev/video1394/0
crw------- 1 root root 171, 16 fév 23 22:02 dev/video1394/0
crw------- 1 root root 171, 19 fév 23 22:02 tmp/dev/video1394/0
another example :
# cd /
# find dev -depth -print0 | cpio -p --null -a -m -d tmp
# rsync --verbose --archive dev tmp/ # no file should be updated
building file list ... done
dev/ataraid/d0
dev/ataraid/d0p1
dev/ataraid/d0p10
dev/ataraid/d0p11
dev/ataraid/d0p12
dev/ataraid/d0p13
dev/ataraid/d0p14
dev/ataraid/d0p15
[...]
dev/video/em8300
dev/video/em8300_ma
dev/video/em8300_sp
dev/video1394/0
dev/video1394/1
dev/video1394/2
wrote 322178 bytes read 20 bytes 30685.52 bytes/sec
total size is 16614 speedup is 0.05
# More than 2000 files modified !
# ll dev/ataraid/d0 tmp/dev/ataraid/d0
brw-rw---- 1 root disk 114, 0 fév 23 22:02 dev/ataraid/d0
brw-rw---- 1 root disk 114, 123 fév 23 22:02 tmp/dev/ataraid/d0
# ll dev/video1394/2 tmp/dev/video1394/2
crw------- 1 root root 171, 18 fév 23 22:02 dev/video1394/2
crw------- 1 root root 171, 19 fév 23 22:02 tmp/dev/video1394/2
With kernel-2.6.5-1.327 and kernel-2.6.5-1.349.
Anyone else can confirm this ?
More information about the fedora-test-list
mailing list