search for: fclient

Displaying 9 results from an estimated 9 matches for "fclient".

Did you mean: client
2007 Feb 07
3
Redirect --stats to STDERR.
...01:46:32.000000000 +0200/ /+++ rsync-2.6.9.new/main.c 2007-02-06 19:28:08.000000000 +0100/ /@@ -227,39 +227,39 @@/ / {/ / if (do_stats) {/ / rprintf(FCLIENT, "\n");/ /- rprintf(FINFO,"Number of files: %d\n", stats.num_files);/ /- rprintf(FINFO,"Number of files transferred: %d\n",/ /+...
2023 Jul 03
0
[PATCH] Add option --log-after to log after moving file into place
...char *logafter_format; extern char *logfile_name; #ifdef ICONV_CONST extern iconv_t ic_chck; @@ -271,6 +272,8 @@ void rwrite(enum logcode code, const char *buf, int len, int is_utf8) * that the msg gets logged and then sent to stderr after that. */ if (am_daemon > 0 && code != FCLIENT) code = FLOG; + } else if (code == FLOG_AFTER) { + code = FLOG; } else if (send_msgs_to_gen) { assert(!is_utf8); /* Pass the message to our sibling in native charset. */ @@ -813,6 +816,12 @@ void log_item(enum logcode code, struct file_struct *file, int iflags, const cha { const cha...
2006 Dec 10
1
Rsync 2.6.9 Develops Conflict Between --stats, I think --delete-after and Local Filesystem Replication
Hi all, Well, yeah, that's it, really. :-) Try it. Works consistently, on Doze and Linux here ... # rsync -vvrlHSPtiypogD --stats --numeric-ids --delete-after --force -- partial-dir=.partial /tmp/ /var/tmp/ [...show stats...] unknown message 4:1 [generator] rsync error: error in rsync protocol data stream (code 12) at io.c(307) [generator=2.6.9] rsync: connection unexpectedly closed (26
2007 Aug 01
0
[PATCH] prevent negative "time left" values with --progress when file grows
...=============== RCS file: /cvsroot/rsync/progress.c,v retrieving revision 1.23 diff -u -r1.23 progress.c --- progress.c 10 Jul 2007 13:55:49 -0000 1.23 +++ progress.c 1 Aug 2007 12:43:33 -0000 @@ -104,9 +104,16 @@ stats.num_files); } else strlcpy(eol, "\r", sizeof eol); - rprintf(FCLIENT, "%12s %3d%% %7.2f%s %4d:%02d:%02d%s", - human_num(ofs), pct, rate, units, - remain_h, remain_m, remain_s, eol); + if (remain < 0) + /* file size increased on sending side during xfer */ + /* so prevent negative times like 0:-1:-49 */ + rprintf(FCLIENT, "%12s %3d%% %7...
2006 May 13
2
using -v and -q together
seems the behavior of rsync has changed when dealing with output and using both -v and -q at the same time ... for example: $ mkdir test1 $ touch test1/foo $ rsync-2.6.0 -avq test1 test2 $ rm -r test2 $ rsync-2.6.8 -avq test1 test2 test1/ test1/fo $ rm -r test2 $ rsync-cvs -avq test1 test2 building file list ... test1/ test1/fo $ rm -r test2 the new output in 2.6.8 comes from the calls to
2005 Jun 09
0
[Bug 2780] New: fix acl patch
...b/inftrees.o zlib/infutil.o zlib/trees.o \ zlib/zutil.o zlib/adler32.o @@ -58,7 +58,7 @@ +/* handle passing ACLs between systems */ + +#include "rsync.h" -+#include "lib/sysacls.h" ++#include "sysacls.h" + +#ifdef SUPPORT_ACLS + @@ -4735,7 +4735,7 @@ ? FCLIENT : FINFO; --- orig/rsync.h 2005-05-03 17:11:01 +++ rsync.h 2005-05-12 23:32:56 -@@ -638,6 +638,44 @@ struct stats { +@@ -638,6 +638,46 @@ #include "lib/permstring.h" #include "lib/addrinfo.h" @@ -4777,9 +4777,18 @@ +#endif /* SUPPORT_ACLS */ +#include "smb_acls.h&...
2008 Feb 16
1
DO NOT REPLY [Bug 5265] New: Daemon logging files not actually received with --only-write-batch
https://bugzilla.samba.org/show_bug.cgi?id=5265 Summary: Daemon logging files not actually received with --only- write-batch Product: rsync Version: 3.0.0 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org
2010 Feb 12
1
[RFC] add support for fallocate()
..._FALLOCATE + if (!sparse_files) + /* + * If this fails then either the filesystem does not + * support this feature or we run out of disk space. + */ + do_fallocate(fd2, FALLOC_FL_KEEP_SIZE, 0, F_LENGTH(file)); +#endif /* log the transfer */ if (log_before_transfer) log_item(FCLIENT, file, iflags, NULL); diff --git a/rsync.h b/rsync.h index 731f4fe..b293edc 100644 --- a/rsync.h +++ b/rsync.h @@ -1241,3 +1241,7 @@ int inet_pton(int af, const char *src, void *dst); #ifdef MAINTAINER_MODE const char *get_panic_action(void); #endif + +#ifdef HAVE_FALLOCATE +#include <linux/f...
2008 Feb 15
4
Revised flags patch
...;st.st_mode) + && (sxp->st.st_flags != F_FFLAGS(file) + || (updated && F_FFLAGS(file) != 0))) { + if (!set_fileflags(fname, F_FFLAGS(file))) + goto cleanup; + updated = 1; + } +#endif + if (verbose > 1 && flags & ATTRS_REPORT) { if (updated) rprintf(FCLIENT, "%s\n", fname); @@ -530,6 +599,9 @@ int finish_transfer(const char *fname, c set_file_attrs(fnametmp, file, NULL, fnamecmp, ok_to_set_time ? 0 : ATTRS_SKIP_MTIME); +#ifdef SUPPORT_FLAGS + make_mutable(fnametmp, file->mode, F_FFLAGS(file)); +#endif /* move tmp file over...