Displaying 2 results from an estimated 2 matches for "copy_devices".
2008 Dec 05
0
rsync patch to allow content from one device file to be synced to another device file
...eceiver.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 != -1
&& ft...
2010 Jun 15
3
about rsyncing of block devices
...nc-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], fname);
- if (link_stat(cmpbuf, &sxp->st, 0) < 0 || !S_ISREG(sxp->st...