Displaying 3 results from an estimated 3 matches for "keep_tim".
Did you mean:
keep_time
2023 May 17
1
[PATCH] Add --omit-{device,special}-times options
...cial_times;
extern int delete_mode;
extern int delete_before;
extern int delete_during;
@@ -482,7 +484,12 @@ int unchanged_attrs(const char *fname, struct file_struct *file, stat_x *sxp)
return 0;
#endif
} else {
- if (preserve_mtimes && any_time_differs(sxp, file, fname))
+ int keep_time = !preserve_mtimes ? 0
+ : S_ISDIR(file->mode) ? !omit_dir_times
+ : IS_DEVICE(file->mode) ? !omit_device_times
+ : IS_SPECIAL(file->mode) ? !omit_special_times
+ : 1;
+ if (keep_time && any_time_differs(sxp, file, fname))
return 0;
if (perms_differ(fil...
2004 May 06
2
rsync-2.6.2: NFS clients confused after an rsync
We use rsync to update an nfs server. After an update, we noticed that
a large number of clients didn't see the updated data.
It took me a while to be able to reliably reproduce this problem, but it
happens on old and new versions of rysnc. It also happens across all
the platforms we use here (sun/linux/netapp).
This shows the problem: [Note my home directory is NFS mounted]
2005 Jul 26
1
itemize() needs to use CHMOD_BITS (patch)
...2.6.6pre1.
PS: I'm not subscribed to this mailing list, please Cc: if you need
more info from me. Thanks.
--- generator.c.~1~ Thu Jun 30 13:03:14 2005
+++ generator.c Tue Jul 26 12:51:11 2005
@@ -327,7 +327,8 @@
&& (!(iflags & ITEM_XNAME_FOLLOWS) || *xname))
|| (keep_time && cmp_modtime(file->modtime, st->st_mtime) != 0))
iflags |= ITEM_REPORT_TIME;
- if (preserve_perms && file->mode != st->st_mode)
+ if (preserve_perms && (st->st_mode & CHMOD_BITS)
+ != (file->mode & CHMOD_BITS))
iflags |= ITEM_R...