Re: Rsync, cygwin and seemingly random deleting of files problem

2005-03-23 Thread Wayne Davison
On Mon, Mar 21, 2005 at 01:31:53PM +, Toby D. Watson wrote: > These files are not actually deleted as they are then transferred back > in the sync process. Do the names of these files differ in case, even after the transfer? Are there any weird characters in the filenames that might be transla

Re: Patch: Offline transfer mode

2005-03-23 Thread Wayne Davison
On Wed, Mar 23, 2005 at 08:14:51PM -0800, Steve Traugott wrote: > Do you mean just set f_out to batch_fd at the right time in > send_files, then set it back before protocol shutdown? Almost. I was thinking of just added an extra variable, f_xfer, that would either have the f_out value in it or th

Re: Patch: Offline transfer mode

2005-03-23 Thread Steve Traugott
On Wed, Mar 23, 2005 at 05:41:40PM -0800, Wayne Davison wrote: > On Wed, Mar 23, 2005 at 03:16:17PM -0800, Steve Traugott wrote: > > And then writefd() would need to be toggled from there to write to the > > correct fd... > > On the receiving side, everything that is read from the sender is > alre

Re: Patch: Offline transfer mode

2005-03-23 Thread Wayne Davison
On Wed, Mar 23, 2005 at 03:16:17PM -0800, Steve Traugott wrote: > And then writefd() would need to be toggled from there to write to the > correct fd... On the receiving side, everything that is read from the sender is already sent to the batch file, so I think the only thing necessary is to have

Re: pauses sync'ing between tmpfs and disk on Linux 2.4.x

2005-03-23 Thread Ray Van Dolson
[EMAIL PROTECTED] report_log]# free total used free sharedbuffers cached Mem: 2068172 8762961191876 0 76796 654944 -/+ buffers/cache: 1445561923616 Swap: 1020116 01020116 No swap in use... however, keep

Re: pauses sync'ing between tmpfs and disk on Linux 2.4.x

2005-03-23 Thread Steve Traugott
Sounds like you're swapping -- what does free memory look like? Steve On Wed, Mar 23, 2005 at 03:24:51PM -0800, Ray Van Dolson wrote: > I've set up a 1GB tmpfs filesystem on a system with a single IDE disk and > 2GB's of memory. I'm storing a large amount of RRD files (~300MB) on the > tmpfs fil

pauses sync'ing between tmpfs and disk on Linux 2.4.x

2005-03-23 Thread Ray Van Dolson
I've set up a 1GB tmpfs filesystem on a system with a single IDE disk and 2GB's of memory. I'm storing a large amount of RRD files (~300MB) on the tmpfs filesystem to make their generation a bit speedier... this part works great. However, I want to rsync these files over from time to time to a di

Re: Patch: Offline transfer mode

2005-03-23 Thread Steve Traugott
Hi Wayne, Jos, Chris, All, Before diving into answers to Wayne, I have to ask (out of due diligence if nothing else): Are we past the point of being able to change the behavior of --write-batch itself, such that it *only* writes the batch file, and doesn't change the destination? That would make

Re: mkstemp fails but data still transferred

2005-03-23 Thread Steve Harris
I see and it makes sense to optimise the file transfer process, but in carrying on with a transfer when the temporary file cannot be created can (in our case) result in quite a large amount of data being transferred over the network (we have more than a few files in the 6-8GB range) which is not op

Re: Patch: Offline transfer mode

2005-03-23 Thread Wayne Davison
On Sun, Mar 20, 2005 at 08:46:20PM -0800, Steve Traugott wrote: > Here's an rsync patch which adds an --offline flag, letting you > transfer changed blocks via removable media, while still comparing > checksums via the net. I'd prefer a different option name for this. Some folks have suggested co

Re: mkstemp fails but data still transferred

2005-03-23 Thread Steve Traugott
On Tue, Mar 22, 2005 at 11:27:57PM -0600, John Van Essen wrote: > The Documentation section of the rsync web site has a "How Rsync Works" page: > > http://rsync.samba.org/how-rsync-works.html > > originally written by the late JW Schultz. > > In the pipeline section you'll see that communicati