Is this condition (am_server == 1 and am_daemon == 0) possible ?
Matt McCutchen
hashproduct+rsync at gmail.com
Thu Feb 15 15:01:24 GMT 2007
On 2/15/07, Qi Yong <qiyong at fc-cn.com> wrote:
> Define your single-use daemon. Do you mean rsync+inetd and child of
> stand-alone rsync?
> IMHO:
> am_server = 0, am_daemon = 1: stand-alone or inetd rsync.
> am_server = 1, am_daemon =1: daemon_over_rsh rsync, when rsync is called
> by the double colon (::)
>
> Please correct me. thanks
I was forgetting about inetd. Try this:
am_server = 0, am_daemon = 1: stand-alone or inetd daemon that has not
yet parsed the arguments for a client request
am_server = 1, am_daemon = 1: remote end of daemon_over_rsh, or any
daemon process that has parsed the arguments for a client request
Matt
More information about the rsync
mailing list