Regression: sockets for 3.0.9pre1 ?

grarpamp grarpamp at gmail.com
Sat Jun 25 04:00:29 MDT 2011


Here are two verbose outputs.
One comparing a dir, the other a problem file in that dir.
The long path component has been shortened to '/.../'.

The files in question are:

# src, aka: NULL
3022430 0 crw-r----- 2 0 0 -  9, 67 Oct 11 00:23:14 2007 fd1.1440
3022430 0 crw-r----- 2 0 0 -  9, 67 Oct 11 00:23:14 2007 rfd1.1440
# dst, aka: a30
6561068 0 crw-r----- 2 0 0 - 31, 67 Oct 11 00:23:14 2007 fd1.1440
6561068 0 crw-r----- 2 0 0 - 31, 67 Oct 11 00:23:14 2007 rfd1.1440

The braces is a zsh expando, left of comma, then right of comma.

rsync -nHaxi -vvvvvvvvvvvvvvvvvv --delete \
 /{,a30/}../..../................./........../.../ 2>&1 \
 | egrep 'fd1\.1440'

[sender] make_file(fd1.1440,*,2)
[sender] make_file(rfd1.1440,*,2)
[sender] i=582 /.../dev fd1.1440 mode=020640 len=0 uid=0 gid=5 flags=0
[sender] i=982 /.../dev rfd1.1440 mode=020640 len=0 uid=0 gid=5 flags=0
[Receiver] i=582 1 fd1.1440 mode=020640 len=0 uid=0 gid=5 flags=20
[Receiver] i=982 1 rfd1.1440 mode=020640 len=0 uid=0 gid=5 flags=20
[generator] make_file(rfd1.1440,*,2)
[generator] make_file(fd1.1440,*,2)
[generator] i=580 0 fd1.1440 mode=020640 len=0 uid=0 gid=5 flags=1
[generator] i=980 0 rfd1.1440 mode=020640 len=0 uid=0 gid=5 flags=1
recv_generator(fd1.1440,582)
send_files(582, /.../dev/fd1.1440)
.D          fd1.1440
recv_files(fd1.1440)
recv_generator(rfd1.1440,982)
send_files(982, /.../dev/rfd1.1440)
hD          rfd1.1440
recv_files(rfd1.1440)

# rsync -nHaxi -vvvvvvvvvvvvvvvvvv --delete \
 /{,a30/}../..../................./........../.../fd0.1440 2>&1 \
 | egrep 'fd1\.1440'

cmd=<NULL> machine=<NULL> user=<NULL> path=/a30/.../dev/fd1.1440
cmd[0]=. cmd[1]=/a30/.../dev/fd1.1440
[sender] make_file(fd1.1440,*,0)
[sender] i=1 /.../dev fd1.1440 mode=020640 len=0 uid=0 gid=5 flags=5
[Receiver] i=1 1 fd1.1440 mode=020640 len=0 uid=0 gid=5 flags=20
get_local_name count=1 /a30/.../dev/fd1.1440
recv_generator(fd1.1440,1)
delete_item(fd1.1440) mode=20640 flags=66
mknod(fd1.1440, 020640, [9,67])
send_files(1, /.../dev/fd1.1440)
cDc........ fd1.1440
recv_files(fd1.1440)


If I rsync from either of these two existing paths into an empty
/tmp/d/, it makes the major 31. Should be 9.

If I rsync from the running /dev/ into an empty /tmp/d/, it makes
the major 78. Should be 9.

Same for from /dev/ to /x/ (same filesystem aka: 'root').

Tar picks up the differences, tar -clf - ... | tar -dpf - .

This system has been fine for ages, no problems evident with it,
reboot, fsck, dmesg, etc... all clean.


More information about the rsync mailing list