Displaying 9 results from an estimated 9 matches for "preserve_xattrs".
2009 Oct 15
1
PATCH: --write-devices to allow synchronising to a block device
...-----------------8<-------------------------------[snip]
diff -ru rsync-3.0.6/generator.c rsync-3.0.6-writedev/generator.c
--- rsync-3.0.6/generator.c 2009-04-27 02:51:50.000000000 +1200
+++ rsync-3.0.6-writedev/generator.c 2009-10-15 20:54:07.000000000 +1300
@@ -39,6 +39,7 @@
extern int preserve_xattrs;
extern int preserve_links;
extern int preserve_devices;
+extern int write_devices;
extern int preserve_specials;
extern int preserve_hard_links;
extern int preserve_executability;
@@ -1733,7 +1734,7 @@
fnamecmp = fname;
fnamecmp_type = FNAMECMP_FNAME;
- if (statret == 0...
2010 Jun 15
3
about rsyncing of block devices
...distribution, it's just a proof of concept.
diff -pur rsync-3.0.7/generator.c rsync-3.0.7.new/generator.c
--- rsync-3.0.7/generator.c 2009-12-23 19:36:27.000000000 +0000
+++ rsync-3.0.7.new/generator.c 2010-06-15 11:08:41.919557425 +0100
@@ -39,6 +39,7 @@ extern int preserve_acls;
extern int preserve_xattrs;
extern int preserve_links;
extern int preserve_devices;
+extern int copy_devices;
extern int preserve_specials;
extern int preserve_hard_links;
extern int preserve_executability;
@@ -980,7 +981,7 @@ static int try_dests_reg(struct file_str
do {
pathjoin(cmpbuf, MAXPATHLEN, basis_dir[j]...
2008 Feb 15
4
Revised flags patch
...3.0.0pre9/compat.c Sat Jan 26 20:58:17 2008
+++ rsync-3.0.0pre9-flags/compat.c Fri Feb 15 19:33:09 2008
@@ -44,6 +44,7 @@ extern int protocol_version;
extern int protect_args;
extern int preserve_uid;
extern int preserve_gid;
+extern int preserve_fileflags;
extern int preserve_acls;
extern int preserve_xattrs;
extern int need_messages_from_generator;
@@ -60,7 +61,7 @@ extern iconv_t ic_send, ic_recv;
#endif
/* These index values are for the file-list's extra-attribute array. */
-int uid_ndx, gid_ndx, acls_ndx, xattrs_ndx, unsort_ndx;
+int uid_ndx, gid_ndx, fileflags_ndx, acls_ndx, xattrs_ndx, u...
2009 Mar 11
0
Odd issue with locked directories and Mac OS X
...ed.
Mike
diff -Naur rsync-3.0.5_base/receiver.c rsync-3.0.5/receiver.c
--- rsync-3.0.5_base/receiver.c 2008-11-15 16:49:28.000000000 -0600
+++ rsync-3.0.5/receiver.c 2009-03-10 22:18:20.000000000 -0500
@@ -39,6 +42,7 @@
extern int preserve_hard_links;
extern int preserve_perms;
extern int preserve_xattrs;
+extern int force_change;
extern int basis_dir_cnt;
extern int make_backups;
extern int cleanup_got_literal;
@@ -153,6 +157,20 @@
}
#endif
+#ifdef SUPPORT_FORCE_CHANGE
+ if (fd == -1) {
+ stat_x sx;
+ if (do_stat(file->dirname, &sx.st) < 0)
+ rprintf(FINFO, "Failed t...
2008 Dec 05
0
rsync patch to allow content from one device file to be synced to another device file
...c-HEAD-20081115-2333GMT-d2d/receiver.c
--- rsync-HEAD-20081115-2333GMT/receiver.c 2008-11-15
17:50:40.000000000 -0500
+++ rsync-HEAD-20081115-2333GMT-d2d/receiver.c 2008-12-04
17:01:00.000000000 -0500
@@ -38,6 +38,7 @@
extern int preserve_hard_links;
extern int preserve_perms;
extern int preserve_xattrs;
+extern int copy_devices;
extern int basis_dir_cnt;
extern int make_backups;
extern int cleanup_got_literal;
@@ -285,7 +286,7 @@
goto report_write_error;
#ifdef HAVE_FTRUNCATE
- if (inplace && fd != -1
+ if (inplace && !copy_devices && fd !=...
2008 Apr 14
0
[PATCH] xattrs not set on locked files that already exist on target
...some files could not be transferred (code 23) at
main.c(1031) [sender=3.0.3dev]
PATCH:
--- rsync-3.0.2_base/rsync.c 2008-04-08 21:37:18.000000000 -0500
+++ rsync-3.0.2/rsync.c 2008-04-14 13:05:44.000000000 -0500
@@ -31,6 +31,7 @@
extern int dry_run;
extern int preserve_acls;
extern int preserve_xattrs;
+extern int force_change;
extern int preserve_perms;
extern int preserve_fileflags;
extern int preserve_executability;
@@ -445,6 +446,11 @@
if (daemon_chmod_modes && !S_ISLNK(new_mode))
new_mode = tweak_mode(new_mode, daemon_chmod_modes);
+#ifdef SUPPORT_FORCE_CHANGE
+ if (fo...
2008 Jun 25
2
DO NOT REPLY [Bug 5565] New: xattrs not set on locked files that already exist on target
...ff -Naur rsync-3.0.3pre3_base/rsync.c rsync-3.0.3pre3_patched/rsync.c
--- rsync-3.0.3pre3_base/rsync.c 2008-06-23 22:31:58.000000000 -0700
+++ rsync-3.0.3pre3_patched/rsync.c 2008-06-23 22:59:03.000000000 -0700
@@ -31,6 +31,7 @@
extern int dry_run;
extern int preserve_acls;
extern int preserve_xattrs;
+extern int force_change;
extern int preserve_perms;
extern int preserve_fileflags;
extern int preserve_executability;
@@ -445,6 +446,11 @@
if (daemon_chmod_modes && !S_ISLNK(new_mode))
new_mode = tweak_mode(new_mode, daemon_chmod_modes);
+#ifdef SUPPORT_FORCE_C...
2009 Jan 24
2
[patch] Replace illegal characters in filenames for FAT (switch)
...output", '8', POPT_ARG_VAL, &allow_8bit_chars, 1, 0, 0 },
diff --git a/receiver.c b/receiver.c
index 4325e30..bc9dc90 100644
--- a/receiver.c
+++ b/receiver.c
@@ -38,6 +38,7 @@ extern int relative_paths;
extern int preserve_hard_links;
extern int preserve_perms;
extern int preserve_xattrs;
+extern int fat_filenames;
extern int basis_dir_cnt;
extern int make_backups;
extern int cleanup_got_literal;
@@ -441,6 +442,8 @@ int recv_files(int f_in, char *local_name)
const char *parent_dirname = "";
#endif
int ndx, recv_ok;
+ int i;
+ static const char fat_invalid_ch...
2009 Nov 04
0
PATCH: fast copy of files in local server mode
...erbose > 2)
rprintf(FINFO,"got file_sum\n");
diff -au rsync-3.0.6/sender.c rsync-3.0.6.fast/sender.c
--- rsync-3.0.6/sender.c 2009-04-12 22:48:59.000000000 +0300
+++ rsync-3.0.6.fast/sender.c 2009-09-23 22:24:59.000000000 +0300
@@ -35,6 +35,8 @@
extern int allowed_lull;
extern int preserve_xattrs;
extern int protocol_version;
+extern int local_server;
+extern int local_socket;
extern int remove_source_files;
extern int updating_basis_file;
extern int make_backups;
@@ -319,6 +321,16 @@
path,slash,fname, (double)st.st_size);
}
+ /* send_fd for fast copy before sending sum head,...