Displaying 2 results from an estimated 2 matches for "support_flag".
Did you mean:
support_flags
2008 Feb 15
4
Revised flags patch
....0pre9/backup.c rsync-3.0.0pre9-flags/backup.c
--- rsync-3.0.0pre9/backup.c Mon Sep 24 00:19:55 2007
+++ rsync-3.0.0pre9-flags/backup.c Fri Feb 15 19:33:09 2008
@@ -61,7 +61,17 @@ static int make_simple_backup(const char
return 0;
while (1) {
- if (do_rename(fname, fnamebak) == 0) {
+#ifdef SUPPORT_FLAGS
+ STRUCT_STAT st2;
+
+ link_stat(fname, &st2, 0);
+ make_mutable(fname, st2.st_mode, st2.st_flags);
+#endif
+ if (do_rename(fname, fnamebak) == 0)
+ {
+#ifdef SUPPORT_FLAGS
+ undo_make_mutable(fnamebak, st2.st_mode, st2.st_flags);
+#endif
if (verbose > 1) {
rprintf(FIN...
2006 Mar 20
3
rsync and BSD file flags.
I've searched the archive for references to FreeBSD's file flags and
rsync but only found one reference to it dated back in 2002. It refers
to a --flags patch that I don't see available anywhere:
http://www.mail-archive.com/rsync@lists.samba.org/msg03878.html
Is there a patch for preserving FreeBSD's flags like schg? (i.e.
immutable)
My current configuration:
Two FreeBSD 4.11