Displaying 4 results from an estimated 4 matches for "handle_partial_dir".
2012 Apr 05
5
[Bug 8847] New: detect-renamed.diff update to ensure existence of directory for partial-dir
https://bugzilla.samba.org/show_bug.cgi?id=8847
Summary: detect-renamed.diff update to ensure existence of
directory for partial-dir
Product: rsync
Version: 3.0.9
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at
2008 Dec 23
0
--partial-dir silently fails
If the --partial-dir is specified and cannot be created, the
handle_partial_dir() function silently fails. Because we depend on this
feature in our platform, it would be nice to get a warning.
2006 May 18
1
Partial files left on SIGINT
Hi,
As the man page says, the --partial flag is to "keep partially
transferred files". I'm assuming if I don't have partial flag any
partially transferred files should be deleted. However this is not what
I'm seeing.
Example:
(Using a big file so that rsync times a while to run. This gives me time
to hit CTRL-C for the SIGINT).
> mkdir example
> dd if=/dev/zero
2008 May 08
1
Patch to not modify files in place unless "--inplace" option specified
...links && F_IS_HLINKED(file))
@@ -1776,13 +1800,31 @@
else if (fnamecmp_type == FNAMECMP_FUZZY)
;
else if (unchanged_file(fnamecmp, file, &sx.st)) {
+ /* fnamecmp == fname, fnamecmp_type == FNAMECMP_FNAME */
+ int iflags = 0;
+
if (partialptr) {
do_unlink(partialptr);
handle_partial_dir(partialptr, PDIR_DELETE);
}
- set_file_attrs(fname, file, &sx, NULL, maybe_ATTRS_REPORT);
+ if (inplace) {
+ /* Currently, we call set_file_attrs on all tweakable
+ * files, though ideally it would have no effect when
+ * unchanged_attrs returns true. */
+ if (verbose > 2)
+...