search for: preserve_speci

Displaying 7 results from an estimated 7 matches for "preserve_speci".

2009 Oct 15
1
PATCH: --write-devices to allow synchronising to a block device
...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 && !S_ISREG(sx.st.st_mode)) { + if (statret == 0 && !(S_ISREG(sx.st.st_mode) || (write_dev...
2010 Jun 15
3
about rsyncing of block devices
...-- 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.st_mode)) + if (link_stat(...
2008 Feb 15
4
Revised flags patch
...h` diff -brpu rsync-3.0.0pre9/flist.c rsync-3.0.0pre9-flags/flist.c --- rsync-3.0.0pre9/flist.c Sun Feb 10 06:41:50 2008 +++ rsync-3.0.0pre9-flags/flist.c Fri Feb 15 19:33:09 2008 @@ -50,6 +50,7 @@ extern int preserve_links; extern int preserve_hard_links; extern int preserve_devices; extern int preserve_specials; +extern int fileflags_ndx; extern int uid_ndx; extern int gid_ndx; extern int eol_nulls; @@ -344,6 +345,9 @@ static void send_file_entry(int f, struc { static time_t modtime; static mode_t mode; +#ifdef SUPPORT_FLAGS + static uint32 fileflags; +#endif #ifdef SUPPORT_HARD_LINKS static...
2008 May 08
1
Patch to not modify files in place unless "--inplace" option specified
...emove-sent-files option would + * remove. */ + if ((iflags & ITEM_REPORT_CHANGE) ? remove_source_files + : remove_source_files == 1) goto return_with_success; } #endif @@ -1592,6 +1605,7 @@ if ((am_root && preserve_devices && IS_DEVICE(file->mode)) || (preserve_specials && IS_SPECIAL(file->mode))) { + int iflags = 0; uint32 *devp = F_RDEV_P(file); dev_t rdev = MAKEDEV(DEV_MAJOR(devp), DEV_MINOR(devp)); if (statret == 0) { @@ -1609,7 +1623,15 @@ && BITS_EQUAL(sx.st.st_mode, file->mode, _S_IFMT) && sx.st.st_rdev =...
2020 Feb 06
0
[PATCH] Add support for zstd compression
...&& def_compress_level != Z_DEFAULT_COMPRESSION) { + if (asprintf(&arg, "--compress-level=%d", def_compress_level) < 0) + goto oom; + args[ac++] = arg; + } + if (preserve_devices) { /* Note: sending "--devices" would not be backward-compatible. */ if (!preserve_specials) diff --git a/rsync.yo b/rsync.yo index 207d487eb11fb..0832a5b2b1b6d 100644 --- a/rsync.yo +++ b/rsync.yo @@ -427,6 +427,7 @@ to the detailed description below for a complete description. verb( --copy-dest=DIR ... and include copies of unchanged files --link-dest=DIR...
2012 Jun 09
2
[patch] NFSv4/ZFS ACLs
This is a PoC patch for NFSv4/ZFS ACLs. The objective of the patch is that rsync --acls support NFSv4/ZFS ACLs without requiring a new command line option NFSv4 ACLs can't be represented using POSIX draft ACLs, if an NFSv4 ACL is present a separate POSIX draft ACL will not be present and there are new APIs to access NFSv4 ACLs. So we need to distinguish between NFSv4 ACLs and POSIX ACLs in
2007 Sep 22
0
rsync build on IA64 using icc
...external declaration in primary source file extern int preserve_links; ^ generator.c(39): remark #1419: external declaration in primary source file extern int preserve_devices; ^ generator.c(40): remark #1419: external declaration in primary source file extern int preserve_specials; ^ generator.c(41): remark #1419: external declaration in primary source file extern int preserve_hard_links; ^ generator.c(42): remark #1419: external declaration in primary source file extern int preserve_perms; ^ generator.c(43): remark #1419: ext...