Matt McCutchen wrote:

On 2/14/07, Qi Yong <[EMAIL PROTECTED]> wrote:

If so, what is (am_server ==1 and am_daemon == 1) for?


For an rsync daemon process handling an individual request.  Here's a
listing of all the cases (Wayne please correct me if necessary):

am_server = 0, am_daemon = 0: client called by user from the command line
am_server = 1, am_daemon = 0: server invoked over a remote shell or
forked locally by client
am_server = 0, am_daemon = 1: main process of non-single-use daemon


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

am_server = 1, am_daemon = 1: single-use daemon, or daemon process
handling an individual request

--
Qi Yong

--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to