Re: I also am getting hang/timeout using rsync 2.4.6 (on solaris too)

2000-10-26 Thread Andrew Tridgell
All the latest versions of openssh use socketpairs. More importantly openssh uses non-blocking IO internally. That solves the problem no matter whether it uses pipes or socketpairs.

Re: trailing slash (was Re: Multiple directory copies)

2000-12-08 Thread Andrew Tridgell
The reason for the trailing slash behaviour is that: 1) I wanted an interface where the same result would be achieved whether or not the directory currently exists on the destination. With "cp -a" you cannot know what the command will do, it will put the files in a different place the

Re: child daemons

2001-02-11 Thread Andrew Tridgell
It only spawns two when receiving, not when sending. The two recv processes are called the "generator" and the "receiver". One does signature generation and the other does file reconstruction. Using two processes makes the pipelining easier.

Re: should rsync also be called ssync?

2001-02-15 Thread Andrew Tridgell
I actually like the name rsync :) I'd be very happy with a configure option that sets the default remote shell, and I don't mind a argv[0] check that knows about the name ssync, but I'd prefer for the package to still be called "rsync" as I think the name is well enough known that a change at

Re: should rsync also be called ssync?

2001-02-28 Thread Andrew Tridgell
It would also ease confusion as everybody begins to think "r* means bad security". I think this argument is a little weak. There are 143 commands starting with r on my system. Only 2 or 3 of them suffer from the rsh style security problems. I don't think anyone is going to abandon rm and

Re: LFS support on AIX 4.3.3

2001-03-17 Thread Andrew Tridgell
Speaking of this, does anyone know a portable way to get printf to handle off_t values when they may be larger that a long? Is there none? The best way I know of is what I used in other places in rsync, which is this: off_t foo = ; printf("seek to %.0f\n", (double)foo); I know

Re: Feature Req: multiple include / exclude from statments in rsyncd.conf

2001-03-18 Thread Andrew Tridgell
[60GB] path = /home/ftp/pub comment = Basic mirror. Maximum of 60GB in size. include from = /etc/rsync.d/60gb.conf [90GB] path = /home/ftp/pub comment = Basic mirror. Maximum of 90GB in size. include from = /etc/rsync.d/90gb.conf

Re: rsync problems with .iso files

2001-04-08 Thread Andrew Tridgell
Here are some possible explanations: 1) you used --partial on an earlier attempt and interrupted the transfer. That would leave you with a partial and potentially much smaller image locally, which would mean a subsequent transfer would send most of the file 2) the corruption is spread

Re: Anti-hang comments?

2001-06-25 Thread Andrew Tridgell
Wayne, I've applied your simple nohang patch. The longer nohang patch I'm not nearly as confident of. It goes back to a method used in early versions of rsync where it uses a buffer that can grow indefinately. Just some history on this. The earliest versions of rsync had no buffer, then when I

Re: Rsync incremental backup solution implemented?

2001-06-28 Thread Andrew Tridgell
So has anyone implemented this yet, or begun work on it or something similar? Thanks for any help. Please mail me directly as I am not subscribed to this list. I don't know of anyone who has implemented this, although I don't think it would be a huge amount of work. It would be excellent