Re: specifying ssh port #?

2005-08-04 Thread Jos Backus
sticking something like this in ~/.ssh/config (assuming Unix): Host remotehost Port ? -- Jos Backus jos at catnook.com -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: batch-mode fixes [was: [PATCH] fix read-batch SEGFAULT]

2004-05-17 Thread Jos Backus
ing a local to local > rsync update of another copy of the mirror. Actually, this has some real > advantages if your network connection is unreliable. That was in fact the way I envisioned us using it at work, together with multicast-based batch file distribution (but the project never got off t

Re: [PATCH] fix read-batch SEGFAULT [WAS: --write-batch just hangs?]

2004-05-06 Thread Jos Backus
On Thu, May 06, 2004 at 09:11:15AM -0700, Wayne Davison wrote: > On Wed, May 05, 2004 at 11:34:29PM -0700, Jos Backus wrote: > > On Tue, May 04, 2004 at 08:14:22PM -0400, Chris Shoemaker wrote: > > > Just so I'm on the right page, AFAICT, batch mode doesn't work _at al

Re: [PATCH] fix read-batch SEGFAULT [WAS: --write-batch just hangs?]

2004-05-05 Thread Jos Backus
read_batch) Interesting. I have the exact same patch sitting in my CVS tree but I can't remember why it's there, sorry :-( -- Jos Backus _/ _/_/_/ Sunnyvale, CA _/ _/ _/ _/ _/_/_/

Re: Quick Question.

2004-03-20 Thread Jos Backus
On Sat, Mar 20, 2004 at 06:59:41PM +0200, Eran Tromer wrote: > It would have been a simple script with the extension I proposed > ("create batch without patching", > http://www.mail-archive.com/[EMAIL PROTECTED]/msg09757.html). Fwiw, I think adding this extension is a good id

Re: Feature Request: Multiple Streams

2004-03-11 Thread Jos Backus
Why don't you try it and let us know? :) It worked fine in all the tests I ran while porting the batch mode code over. Since I never managed to get anybody at work interested in actually deploying it I have not used it much since, sorr

Re: how rsync works

2003-11-27 Thread Jos Backus
ee it under cvs so the rsync > team can update it and similar documents. Agreed. Excellent kickoff, jw. -- Jos Backus _/ _/_/_/ Sunnyvale, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/

Re: problem with batch mode:

2003-09-29 Thread Jos Backus
s staff 498783 Sep 29 12:29 new.zip -rw-r--r-- 1 jos staff 498783 Sep 29 12:29 old.zip drwxr-xr-x 2 jos staff 512 Sep 29 12:38 rs lizzy:~/src/rsync-cvs/obj/test/rs% Could you try again with the version in CVS? -- Jos Backus _/ _/_/_/

Re: Syncing Multiple servers simultaneously

2003-03-11 Thread Jos Backus
On Tue, Mar 11, 2003 at 07:32:07AM -0800, Vaibhav Goel wrote: > Is there a way of syncing multiple servers simultaneously from 1 source > server? Not sure if this is what you are looking for, but have you looked at the (experimental) batch mode support in recent rsync versions? -- Jos

Re: Please test rsync-2.5.6pre2

2003-01-21 Thread Jos Backus
he release as it is a very low priority update; I'd just like it not to rot :) -- Jos Backus _/ _/_/_/ Sunnyvale, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/

Re: Please test rsync-2.5.6pre1

2003-01-15 Thread Jos Backus
ble at http://www.catnook.com/patches/rsync-popt-1.7.diff -- Jos Backus _/ _/_/_/ Sunnyvale, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ jos at catno

Re: Windows and default --modify-window=0

2003-01-09 Thread Jos Backus
break compatibility with older (protocol) versions of rsync at some point, _before_ rewriting the whole application based on librsync? Just a thought. -- Jos Backus _/ _/_/_/ Sunnyva

Re: Simulating rdist?

2003-01-01 Thread Jos Backus
ees are not changed in any other way than by using this method. -- Jos Backus _/ _/_/_/ Sunnyvale, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ jos at catnook.com_/_/ _/_/_/

Re: rsync 2.5.5 SCO Unixware patch

2002-12-23 Thread Jos Backus
nything. It does seem to require a "make proto" afterwards > to rebuild proto.h Committed, thanks! I don't feel brave enough to commit the popt/popt.c change without input from others. -- Jos

Re: Some tests fail if rsync is not on path (with patch)

2002-12-23 Thread Jos Backus
Fyi: I just committed the changes to the test scripts; they now all use ``$RSYNC'' to refer to the newly built executable. Please let me know if this causes any problems. -- Jos Backus _/ _/_/_/ Sun

Re: Some tests fail if rsync is not on path (with patch)

2002-12-12 Thread Jos Backus
this at the end of next week. Comments? -- Jos Backus _/ _/_/_/ Sunnyvale, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ jos at catnook.com_/_/ _/_/_/ require

Re: Suggestion: rsync and direct IO

2002-12-05 Thread Jos Backus
open(..., O_DIRECT). -- Jos Backus _/ _/_/_/ Sunnyvale, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ jos at catnook.com_/_/ _/_/_/ require 'std/disclaimer'

Re: rsync -- batch mode. bug?

2002-11-05 Thread Jos Backus
g. in the command line above no batch file prefix is being specified. Thanks. -- Jos Backus _/ _/_/_/ Sunnyvale, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ jos at ca

Re: Some tests fail if rsync is not on path (with patch)

2002-11-05 Thread Jos Backus
--- > ln "$name2" "$name3" || fail "Can't create hardlink" > cp "$name2" "$name4" || fail "Can't copy file" > > ! checkit "$RSYNC -aHvv \"$fromdir/\" \"$todir/\"" "$fromdir" &q

Re: Using -F and -f

2002-08-28 Thread Jos Backus
-batch and --read-batch command line options in the manual. -- Jos Backus _/ _/_/_/ Sunnyvale, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ jos at catnook.com_/_/ _/_/_/

Re: Patch to update the included popt to 1.6.4

2002-08-13 Thread Jos Backus
[Just had my DSL line reactivated after our moving house.] On Sat, Jul 27, 2002 at 12:19:43PM -0700, Wayne Davison wrote: > On Thu, 11 Jul 2002, Jos Backus wrote: > > http://www.catnook.com/patches/rsync-popt-1.6.4.patch > > I went ahead and tested this and then checked

Re: Patch to update the included popt to 1.6.4

2002-07-12 Thread Jos Backus
in > preference to the included popt, so it wouldn't be hard to change this > to not have a popt fallback. > > ..wayne.. Fwiw, I agree, I just thought it would be too bold a step forward. -- Jos Backus

Re: rsync 2.5.5 Tru64 5.1

2002-07-12 Thread Jos Backus
On Fri, Jul 12, 2002 at 01:03:33PM -0500, Dang, Tan wrote: > Also I had to change line 22 in options.c from #include "popt.h" to #include > "popt/popt.h". Any suggestions or ideas? Doesn't CFLAGS in the generated Makefile contai

Patch to update the included popt to 1.6.4

2002-07-12 Thread Jos Backus
version of autoconf generating scripts that break when run under bash (as /bin/sh). Comments? -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ [EMAIL

Re: cronning rsync

2002-06-20 Thread Jos Backus
@host::/module/* . > else > echo "Rsync is still running...please wait and try again later" > fi Note that this approach inherently suffers from a race condition: what if rsync was started right after running the ps? Adrian's setlock idea avoi

Re: batch diffs

2002-06-02 Thread Jos Backus
? Ideally, yes. Currently, rsync's batch mode is the only method of creating and using diffs this way that I am aware of. -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/

Re: Status Query - Please respond - Re: Patch to avoid 'Connection reset by peer' error for rsync on cygwin

2002-05-09 Thread Jos Backus
On Thu, May 09, 2002 at 04:22:45PM -0700, Martin Pool wrote: > shutdown(fd, 1); Perhaps use SHUT_WR instead of 1? -- Jos Backus _/ _/_/_/Santa Clara,

Re: "error in rsync protocol data stream"

2002-04-30 Thread Jos Backus
data pattern or something? I'll leave it at 2.5.5 and see > if I can reproduce the error in the next few days. Yes. Please see http://www.freebsd.org/cgi/query-pr.cgi?pr=36998 for the complete story. The PORTREVISION should probably have been bumped after t

Re: rsync & ssh & a specific Port

2002-04-29 Thread Jos Backus
t myhost Port -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ [EMAIL PROTECTED] _/_/ _/_/_/use Std::Disclaimer; -- To uns

Re: Patch to avoid 'Connection reset by peer' error for rsync on cygwin

2002-04-26 Thread Jos Backus
e() and socketpair()), shutdown() would not have been necessary and one could have just used close() on each descriptor instead. -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _

Re: rsync and missing files?

2002-04-25 Thread Jos Backus
ike the files rsync can't find are the last files it tried to operate on before exiting; hence, no bug. -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _

Re: rsync and missing files?

2002-04-23 Thread Jos Backus
per my original post, rsync will complain about the list > of files it can't open and then just exit. At least, that's what it appears > to be doing! Hm, perhaps that can be fixed. -- Jos Backus _/ _/_/_/Santa Clara, CA

Re: Patch: update popt/ to 1.5.1

2002-04-22 Thread Jos Backus
On Mon, Apr 22, 2002 at 09:30:50AM -0701, Jos Backus wrote: > > Has someone from FreeBSD has already pushed the patch to the RedHat > > chaps? > > Not that I am aware of but I will; I'll also keep the FreeBSD port maintainer > in the loop. I have notified the popt mai

Re: Patch: update popt/ to 1.5.1

2002-04-22 Thread Jos Backus
it when you're happy; perhaps add a NEWS entry. Thanks, will do. -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ [EMAIL PROTECTED] _/_/ _/_/_/

Re: ports/36998: rsync requires -O2 on BSD to avoid segv?

2002-04-21 Thread Jos Backus
On Sun, Apr 21, 2002 at 09:24:32PM +0200, Anders Nordby wrote: > Hm. Better make the patch like this. The ifdef was too narrow (sorry). I wonder if the #ifdef is needed. I.e. is this a GCC bug that manifests itself because of the way GCC is implemented on i386 FreeBSD, or is a problem with GCC it

Re: ports/36998: rsync requires -O2 on BSD to avoid segv?

2002-04-21 Thread Jos Backus
Is it OK if I fix this in rsync CVS so the next release won't need this patch on FreeBSD? -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ [EMAIL PROT

Re: rsync breaks on FreeBSD without -O2?(fwd from grog@FreeBSD.org) PR 36998

2002-04-20 Thread Jos Backus
On Sat, Apr 20, 2002 at 08:24:43PM -0701, Jos Backus wrote: > Here's some mail from freebsd-cvs-all > (<[EMAIL PROTECTED]>). Bruce Evans submitted this > workaround which has been incorporated into the FreeBSD tree. I think we > should do the same. I can do the honors :-)

Re: rsync breaks on FreeBSD without -O2?(fwd from grog@FreeBSD.org) PR 36998

2002-04-20 Thread Jos Backus
;t tried to reproduce it yet. Here's some mail from freebsd-cvs-all (<[EMAIL PROTECTED]>). Bruce Evans submitted this workaround which has been incorporated into the FreeBSD tree. I think we should do the same. I can do the honors :-) Jos On Sat, Apr 20, 2002 at 04:01:29PM -0700, Jos Bac

Patch: update popt/ to 1.5.1

2002-04-20 Thread Jos Backus
I may change it. The patch is available at http://www.catnook.com/rsync-popt-1.5.1.patch Comments welcome! (Note that I will be losing DSL connectivity for a week any moment now while I switch providers.) -- Jos Backus _/ _/_/_/Santa Clar

Re: [PATCH] --soften-links option (fwd from md@Linux.IT) Re: rsync and debian mirrors

2002-04-19 Thread Jos Backus
havior alerts the user to the fact that file filesystem organization is different, and the user should consciously choose to have rsync cater for this situation. -- Jos Backus _/ _/_/_/

Re: rsync and missing files?

2002-04-17 Thread Jos Backus
und this would be to use a lock file to coordinate access to the Maildir between the backup process and the POP daemon. This isn't too intrusive; while the lock is present, mail delivery can still take place. -- Jos Backus _/ _/_/_/

Re: --delete-after-fetch mode?

2002-04-08 Thread Jos Backus
ly applies when you are using Maildir-style mailboxes. -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ [EMAIL PROTECTED] _/_/ _/_/_/use Std

Re: Bug in compile of rsync 2.5.4 on Tru64 UNIX V5.1a using cc

2002-03-21 Thread Jos Backus
On Thu, Mar 21, 2002 at 04:45:53PM -0500, Paul Haas wrote: > Here's how I would fix it: See patches/jos-solaris-sizet.diff for my fix. -- Jos Backus _/ _/_/_/Santa C

Re: [dillon@FreeBSD.org: cvs commit: src/sys/net zlib.c]

2002-03-20 Thread Jos Backus
On Wed, Mar 20, 2002 at 10:35:41AM -0801, Jos Backus wrote: > What about this one? The diff looks like this: Never mind, it looks like we are already doing the right thing in infblock.c. Sorry for the false alert. -- Jos Backus _/ _/_/_/Santa Clara,

[dillon@FreeBSD.org: cvs commit: src/sys/net zlib.c]

2002-03-20 Thread Jos Backus
MAIL PROTECTED]> X-MFC after: immediately Revision ChangesPath 1.12 +5 -1 src/sys/net/zlib.c To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe cvs-all" in the body of the message - End forwarded messa

Re: posix me harder

2002-03-14 Thread Jos Backus
st(1) fixes to sh(1). So yes, it's sh(1)'s test that is broken. -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ [EMAIL PROTECTED] _/_/

Re: Should these errors matter?

2002-03-13 Thread Jos Backus
rements. The -L and -S operands are added for symbolic links and sockets. -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ [EMAIL PROTECTED] _/

Re: Compile error

2002-03-11 Thread Jos Backus
@@ struct sum_struct *s) { size_t i; -unsigned int int_zero = 0; +size_t int_zero = 0; extern int csum_length; fdb_open = 1; -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/

Re: zlib 1.1.4 is out (was: Re: Patch: update zlib/* to 1.1.3)

2002-03-11 Thread Jos Backus
/rsync/zlib/infblock.c.diff?r1=1.4&r2=1.5&f=h Wrt the bandaid, on both Solaris and FreeBSD the manpage says ``If ptr is NULL, no action occurs.''. So it sounds like there are platforms where free(NULL) does cause a crash. -- Jos Backus _/

zlib 1.1.4 is out (was: Re: Patch: update zlib/* to 1.1.3)

2002-03-11 Thread Jos Backus
the rsync modifications made it into that version? -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ [EMAIL PROTECTED] _/_/ _/_/_/use Std::Di

Re: Patch: update zlib/* to 1.1.3

2002-03-10 Thread Jos Backus
n I generated the patch I sent to the list a while ago. Hopefully they will accept your patch and there will be a 1.1.4 release, which also incorporates the infblock.c fixes. It would be bad to have different (broken) versions of zlib out there when this can easily be

Re: Error building CVS on Tru64 UNIX

2002-02-21 Thread Jos Backus
On Thu, Feb 21, 2002 at 05:49:03PM -0600, Albert Chin wrote: > If I case &s->count to (unsigned int *), then it compiles. How about casting to size_t * (since s->count has type size_t)? (Btw, I'll try the configure patch tomorrow and let you know

Re: #3980 Re: rsync-2.5.3pre1 preview release -- please try it

2002-02-21 Thread Jos Backus
configure.in). > Without my patch, does it work? Unfortunately, yes (see above). > If so, the fix could be as simple as > preceding my patch with a AC_CHECK_FUNCS(getaddrinfo and running the > new code when this fails. --

Re: #3980 Re: rsync-2.5.3pre1 preview release -- please try it

2002-02-20 Thread Jos Backus
_u6_addr.__u6_addr8 #ifdef _KERNEL /*XXX nonstandard*/ #define s6_addr8 __u6_addr.__u6_addr8 #define s6_addr16 __u6_addr.__u6_addr16 #define s6_addr32 __u6_addr.__u6_addr32 #endif I wonder if we should do s/s6_addr32/s6_addr/g ? If I make that

Re: infblock.c fixes in XFree86 source tree

2002-02-17 Thread Jos Backus
On Sat, Feb 16, 2002 at 07:53:09PM -0800, Jos Backus wrote: > See http://cvsweb.xfree86.org/cvsweb/xc/lib/zlib/infblock.c, specifically rev > 1.5 and 1.6. I wonder if these apply to us as well. Also, FreeBSD has incorporated these fixes now: http://www.freebsd.org/cgi/cvsweb.cgi/src/li

infblock.c fixes in XFree86 source tree

2002-02-16 Thread Jos Backus
See http://cvsweb.xfree86.org/cvsweb/xc/lib/zlib/infblock.c, specifically rev 1.5 and 1.6. I wonder if these apply to us as well. (It would be nice if somebody would release 1.1.4 with these and other fixes against 1.1.{2,3}...) -- Jos Backus _/ _/_/_/Santa Clara, CA

Re: socket.c: HAVE_SOCKADDR_LEN misspelt as HAVE_SOCK_SIN_LEN

2002-02-13 Thread Jos Backus
On Wed, Feb 13, 2002 at 12:43:29PM -0600, Dave Dykstra wrote: > On Mon, Feb 11, 2002 at 12:00:55PM -0801, Jos Backus wrote: > > This causes a compile error on Solaris. Fix: Oops, I created a source tarball on FreeBSD (which has sin_len) without doing a make distclean first on Solari

Latest version of the batch mode cleanup patch

2002-02-06 Thread Jos Backus
tch=pfx -a /source/dir/ /adest/dir/ +$ rcp pfx.rsync_* remote: +$ rsh remote rsync --read_batch=pfx -a /bdest/dir/ +# or even +$ rsh remote ./pfx.rsync_argvs /bdest/dir/ ) + +In this example, rsync is used to update /adest/dir/ w

Re: error in rsync protocol data stream (code 12) at token.c(288)

2002-02-03 Thread Jos Backus
On Fri, Feb 01, 2002 at 01:06:15PM -0800, Jos Backus wrote: > On Fri, Feb 01, 2002 at 02:18:06PM -0600, Dave Dykstra wrote: > > Be careful with that, because rsync's zlib is modified from the standard. > > Has somebody verified that the modification is not removed with the

Re: Fix for batch mode (was Re: batch mode maintainability)

2002-02-01 Thread Jos Backus
d-line arguments -.IP o -\fBrsync_flist\&.\fP rsync internal file metadata -.IP o -\fBrsync_csums\&.\fP rsync checksums -.IP o -\fBrsync_delta\&.\fP data blocks for file update & change -.PP -See \fBhttp://www\&.ils\&.unc\&.edu/i2dsi/u

Re: error in rsync protocol data stream (code 12) at token.c(288)

2002-02-01 Thread Jos Backus
t back into zlib-1.1.3. I'm now merging the changes made to zlib-1.1.2 by the rsync team back into 1.1.3, and will repost a new diff against the current rsync CVS soon. -- Jos Backus _/ _/_/_/

Re: Fix for batch mode (was Re: batch mode maintainability)

2002-02-01 Thread Jos Backus
\&.\fP rsync checksums -.IP o -\fBrsync_delta\&.\fP data blocks for file update & change -.PP -See \fBhttp://www\&.ils\&.unc\&.edu/i2dsi/unc_rsync+\&am

Re: Fix for batch mode (was Re: batch mode maintainability)

2002-01-31 Thread Jos Backus
change -.PP -See \fBhttp://www\&.ils\&.unc\&.edu/i2dsi/unc_rsync+\&.html\fP for papers and technical -reports\&. +See \fBhttp://www\&.ils\&.unc\&.edu/i2dsi/unc_rsync+\&.html\fP for papers and +technical reports\&. .PP .SH "SYMBOLIC LINKS" .PP -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ [EMAIL PROTECTED] _/_/ _/_/_/use Std::Disclaimer;

Re: Fix for batch mode (was Re: batch mode maintainability)

2002-01-30 Thread Jos Backus
On Thu, Jan 24, 2002 at 06:19:56PM -0801, Jos Backus wrote: > OK, I may need help with the markup part though, so I'll post a rough draft > here first. Here's my first attempt at improving the documentation of the batch mode feature. This is the manpage only; I'll attem

Patch: update zlib/* to 1.1.3

2002-01-30 Thread Jos Backus
This patch (apologies for the size) updates zlib/* to the files that ship with zlib 1.1.3. Index: zlib/ChangeLog === RCS file: /cvsroot/rsync/zlib/ChangeLog,v retrieving revision 1.1 diff -u -r1.1 ChangeLog --- zlib/ChangeLog 7

Re: Fix for batch mode (was Re: batch mode maintainability)

2002-01-30 Thread Jos Backus
compression && (write_batch || read_batch)) { + snprintf(err_buf,sizeof(err_buf), + "compress can not be used with write-batch or read-batch\n"); + rprintf(FERROR,"ERROR: compress can not be used with" + " write-

Re: Moving files revisited

2002-01-30 Thread Jos Backus
On Wed, Jan 30, 2002 at 10:21:45AM -0800, Wayne Davison wrote: > On Wed, 23 Jan 2002, Wayne Davison wrote: > > I'd like to revisit the topic of moving files from system to system > > using rsync. Fwiw (not much, I know :), this functionality is useful

Re: Fix for batch mode (was Re: batch mode maintainability)

2002-01-30 Thread Jos Backus
on. Btw, what about the other patch (the one that adds --write-batch=prefix, among others), does it work for you? And can you perhaps show me how to create a setup where the batch files are created in your homedir, which is the other problem you were seei

Re: Fix for batch mode (was Re: batch mode maintainability)

2002-01-29 Thread Jos Backus
On Sat, Jan 26, 2002 at 12:02:31AM -0800, Jos Backus wrote: > However, when I add ``-z'', rsync does fail when using a different target > directory. Sadly, it turns out that my test was flawed. Batch mode doesn't quite work with -z, even when the destination directory is no

Re: Solaris 2.8/2.5.2 build issues

2002-01-28 Thread Jos Backus
(near initialization for > `long_options[0].descrip') All these can be fixed by properly padding the struct initializers with the required values. -- Jos Backus

Re: Fix for batch mode (was Re: batch mode maintainability)

2002-01-25 Thread Jos Backus
6 Jan 17 15:08 f2 + ls -l d2 total 1 -rw-r--r-- 1 jos staff 6 Jan 17 15:08 f1 -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ [EMAIL PROTECTED] _/_

Warning fix for main.c

2002-01-24 Thread Jos Backus
struct file_list *flist = NULL; int status = 0, status2 = 0; char *local_name = NULL; extern int am_sender; -- Jos Backus _/ _/_/_/Santa

Cosmetic fix for log.c

2002-01-24 Thread Jos Backus
(FINFO, "%s, len %lu\n", fname, (unsigned long)file->length); } - -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ [EMAIL PROTECTED] _/_/ _/_/_/use Std::Disclaimer;

Re: Fix for batch mode (was Re: batch mode maintainability)

2002-01-24 Thread Jos Backus
/* +* disable "rsync algorithm" when both sides local, +* except when creating a batch update +*/ + if (!write_batch) + whole_file = 1;

More batch mode changes, added prefix feature

2002-01-24 Thread Jos Backus
On Wed, Jan 23, 2002 at 03:41:36PM -0800, Jos Backus wrote: > Fwiw, I'm currently working on getting rid of the automatically generated > filenames --write-batch creates, instead --write-batch should accept a suffix, > just like --read-batch. With that working I'll conver

Re: Fix for batch mode (was Re: batch mode maintainability)

2002-01-23 Thread Jos Backus
, 2002 at 11:05:15AM -0600, Dave Dykstra wrote: > On Wed, Jan 23, 2002 at 04:37:53PM +1100, Martin Pool wrote: > > On 17 Jan 2002, Jos Backus <[EMAIL PROTECTED]> wrote: > > When you get a chance, could you please look at writing some more > > documentation about batch mo

Fix for batch mode (was Re: batch mode maintainability)

2002-01-17 Thread Jos Backus
x: util.c === RCS file: /cvsroot/rsync/util.c,v retrieving revision 1.97 diff -u -r1.97 util.c --- util.c 2 Dec 2001 14:12:03 - 1.97 +++ util.c 18 Jan 2002 01:48:13 - @@ -173,10 +173,7 @@ extern int am_sender;

Re: batch mode maintainability

2002-01-17 Thread Jos Backus
On Wed, Jan 16, 2002 at 06:32:56PM -0801, Jos Backus wrote: > I'll try to investigate; it must be some interaction between the batch code > and some change that has been made in the last month. I have narrowed the changes that break batch mode (even with my patch applied) down to

Re: batch mode maintainability

2002-01-16 Thread Jos Backus
also dumps core. > > Does it work for you? Yes, but not with the latest CVS, it cores there as well (I'm using FreeBSD, btw). I'll try to investigate; it must be some interaction between the batc

Re: batch mode maintainability

2002-01-15 Thread Jos Backus
io_error = 1; rprintf(FERROR,"receive_sums failed\n"); return; } + + if (write_batch) + write_batch_csum_info(&i,flist->count,s); if (!read_batch) {

Re: rsync+ tidyup (was Re: move rsync development tree to BitKeeper?)

2002-01-03 Thread Jos Backus
t; using them already. I seriously doubt anyone is using the batch feature because without the last patch I sent you it simply does not work :-) -- Jos Backus _/ _/_/_/

Re: --owner --group without root access?

2001-12-30 Thread Jos Backus
ving some > program that can parse that to recover the original file ownership if > necessary. > > Has anyone already done something like this by any chance? Have a look at the BSD mtree(8) utility, in particular the -U option. -- Jos Backus _/

Re: [Q] multicasting product ?

2001-12-19 Thread Jos Backus
sent a final patch to Martin Pool for review that makes it work properly (my colleague says he's had no problems so far). Hopefully it will make it into the next stable release. mrsync looks very interesting, too. It's always nice to have more options to choose from.

Re: rsync-2.5.1pre1 with -F option

2001-12-10 Thread Jos Backus
KBytes per second - -f, --read-batch=FILE read batch file - -F, --write-batch write batch file + --read-batch=FILE read batch file + --write-batch write batch file -h, --help show this help screen @@ -796,7 +796,7 @@ bf(src_dir) q

Re: Cosmetic code cleanup?

2001-12-07 Thread Jos Backus
I'll have a look again after your commit. -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ [EMAIL PROTECTED] _/_/ _/_/_/use Std::Disclaimer;

Should --write-batch always sync the target tree?

2001-12-07 Thread Jos Backus
rite_batch) { + /* drain */ + receive_data(f_in,NULL,-1,NULL,file->length); continue; } -- Jos Backus _/ _/_/_/Sa

Cosmetic code cleanup?

2001-12-06 Thread Jos Backus
s - change space indents to tabs - fix multiline comments - remove redundant /* dw */ comments (Deborah Weiss is already credited in the documentation) Thoughts? -- Jos Backus _/ _/_/_/Santa

Re: rsync-2.5.1pre1 with -F option

2001-12-06 Thread Jos Backus
file(int orig_argc, int argc, char **argv); +void write_batch_argvs_file(int argc, char *argv[]); struct file_list *create_flist_from_batch(); int read_batch_flist_file(char *buff, int len); unsigned char read

Re: move rsync development tree to BitKeeper?

2001-12-06 Thread Jos Backus
e, in java, *fast* and has a better consistency > model...) Heh, I mentioned Subversion to Martin as well :) While AccuRev is nice indeed (I think it's nicer than Perforce), I wonder if their diff command can output unified diff's. Last time I checked it could not, but maybe things have

Re: rsync-2.5.1pre1 with -F option

2001-12-05 Thread Jos Backus
gnal(SIGUSR1, sigusr1_handler); signal(SIGUSR2, sigusr2_handler); @@ -806,7 +808,7 @@ if (write_batch) { /* dw */ create_batch_file_ext(); - write_batch_argvs_file(orig_argc, argc, argv); + write_batch_argvs_file(orig_argc, a

Re: --no-detach option?

2001-11-26 Thread Jos Backus
fB--no-detach\fP" +When running as a daemon, this option instructs rsync to not detach itself and +become a background process\&. .IP .IP "\fB--address\fP"

Re: --no-detach option?

2001-11-25 Thread Jos Backus
g(3), yes? Yes, it would be a useful option imo. Let's first see if the --no-detach option makes it in though, we can then add this other option. -- Jos Backus _/ _/_/_/

Re: --no-detach option?

2001-11-21 Thread Jos Backus
which does that. It does more than just that. Hope this explains things a little bit. > - Dave Dykstra -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/

Re: --no-detach option?

2001-11-21 Thread Jos Backus
{"daemon", 0, POPT_ARG_NONE, &am_daemon}, + {"no-detach",0, POPT_ARG_NONE, &no_detach}, {"stats",0, POPT_ARG_NONE, &do_stats}, {"progress",

Re: --no-detach option?

2001-11-21 Thread Jos Backus
its parent (supervise in the daemontools case). -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ [EMAIL PROTECTED] _/_/ _/_/_/use

--no-detach option?

2001-11-20 Thread Jos Backus
How about adding a --no-detach option (to be used in combination with --daemon) to rsync so it can be run under Dan Bernstein's daemontools' supervise? If there's interest I'll provide a patch. -- Jos Backus _/ _/_/_/

Re: rsync 2.4.6 hangs.

2001-07-10 Thread Jos Backus
On Tue, Jul 10, 2001 at 04:13:11PM -0700, Jos Backus wrote: > I'm using the same CVS server. I think my problem is that I applied your > rsync-nohang.patch first, whereas I should only be applying > rsync-nohang2.patch against the current CVS sources. Correct? To answer my own

Re: rsync 2.4.6 hangs.

2001-07-10 Thread Jos Backus
ur rsync-nohang.patch first, whereas I should only be applying rsync-nohang2.patch against the current CVS sources. Correct? Thanks, -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/

Re: rsync 2.4.6 hangs.

2001-07-10 Thread Jos Backus
leanly against yesterday's CVS. I'd like to build an up-to-date version of rsync with these patches. Thanks, -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/

Re: Anti-hang comments?

2001-07-05 Thread Jos Backus
On Thu, Jul 05, 2001 at 12:48:06PM -0500, Dave Dykstra wrote: > If you really want it to stay in the foreground, edit become_daemon in > socket.c. It would be nice to have this available as an option so rsyncd can be run under djb's daemontools. --

  1   2   >