RE: direct write patch

2001-11-12 Thread David Bolen
Don Mahurin [[EMAIL PROTECTED]] writes: > Perhaps, all that I need is a "--delete-before-update" option that > just unlinks the file before it starts to write the temp file. Then > we avoid the possible issues that you raised. I can still see a > case where --direct-write may be useful (read-wri

Re: direct write patch

2001-11-12 Thread Dave Dykstra
On Mon, Nov 12, 2001 at 11:50:01AM -0800, Don Mahurin wrote: > Perhaps, all that I need is a "--delete-before-update" option that just > unlinks the file before it starts to write the temp file. Then we avoid the > possible issues that you raised. I can still see a case where > --direct-write ma

Re: direct write patch

2001-11-12 Thread Don Mahurin
Perhaps, all that I need is a "--delete-before-update" option that just unlinks the file before it starts to write the temp file. Then we avoid the possible issues that you raised. I can still see a case where --direct-write may be useful (read-write file in a read-only dir), but this is proba

Re: direct write patch

2001-11-12 Thread Dave Dykstra
Oh boy, I think you're getting into quite a can of worms there. At a minimum this option should imply the --partial option because if the operation is aborted the file will be left partially transferred. Note that if you're trying to use the rsync rolling checksum algorithm to minimize bandwidth