Displaying 20 results from an estimated 700 matches similar to: "patches for copying atimes"
2004 Apr 20
1
improved atime patch
I posted a patch a few days ago that adds copying of atime. At that
time, it was just enabled with -t/--times. After some time, we have
figured out that that choice might not have been the best. Here's a
new version of the patch (relative to CVS) that adds -A/--copy-atime
instead. It also includes a test case.
Any feedback on this patch and/or the previous one that I posted?
2016 Jan 20
2
[PATCH] Consider nanoseconds when quick-checking for unchanged files
I wrote on Fri, 02 Jan 2015 16:02:27 +0100:
> --- a/generator.c 2014-06-14 01:05:08.000000000 +0200
> +++ b/generator.c 2015-01-02 15:50:30.000000000 +0100
> @@ -588,7 +588,14 @@
> if (ignore_times)
> return 0;
> - return cmp_time(st->st_mtime, file->modtime) == 0;
> + return cmp_time(st->st_mtime, file->modtime) ==
2015 Sep 14
3
[Bug 11521] New: rsync does not use high-resolution timestamps to determine file differences
https://bugzilla.samba.org/show_bug.cgi?id=11521
Bug ID: 11521
Summary: rsync does not use high-resolution timestamps to
determine file differences
Product: rsync
Version: 3.1.2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: core
2014 Dec 25
8
[PATCH] Consider nanoseconds when quick-checking for unchanged files
On systems using nanoseconds differences should be taken into consideration.
--- a/generator.c 2014-06-14 01:05:08.000000000 +0200
+++ b/generator.c 2014-12-25 11:19:54.000000000 +0100
@@ -588,7 +588,13 @@
if (ignore_times)
return 0;
- return cmp_time(st->st_mtime, file->modtime) == 0;
+ return cmp_time(st->st_mtime, file->modtime) == 0
+#ifdef ST_MTIME_NSEC
+ ?
2006 Jan 24
1
propagate atimes with rsync-2.6.6 (fwd)
Dear Martin Pool.
We regularly use rsync for making backups of our file systems but we have
noticed that the atimes are not transferred with the files and are also
always updated on the sender's side. Therefore, we have created a modified
version of rsync based on rsync-2.6.6 protocol version 29 which transfers
the access times with the transferred files and also allows to preserve
the access
2001 Dec 01
1
rsync-2.5.0 patch for "make check" bug
Attached is a patch for rsync 2.5.0 to fix the "make check" option.
The find command was not being passwd the current directory in the
hands.test and longdir.test testsuites, which caused them to fail
on SunOS 4.X and Solaris 2.X systems.
Tom
--
Tom L. Schmidt, Manager/SysAdmin Characterization Equipment
Micron Technology, Inc.
8000 S. Federal Way P.O. Box 6 Mail Stop 376 Boise,
2014 May 31
1
[Bug 10643] New: cmp_time() returns incorrect result due to integer overflow
https://bugzilla.samba.org/show_bug.cgi?id=10643
Summary: cmp_time() returns incorrect result due to integer
overflow
Product: rsync
Version: 3.1.1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at samba.org
2008 Sep 29
1
crtimes discrepancy on PPC
On a PPC machine running Mac OS X, I noticed that creation time is not
preserved for files that are transferred (i.e. versus files that are
not transferred, or files that have only attribute changes). I
discovered two things that work together to cause this:
1) cmp_time (util.c) doesn't check for negative values provided in
file1 or file2. If file2 is positive, and file1 is
2017 Apr 09
0
failed to set times on ... Invalid argument (22) and what to do with it
Dear All,
Along with the files that suddenly disappear, we have a bit of a problem
with these that do not.
Namely, in my test runs I can see a small but stable set of files, that
rsync is repeatedly trying to transfer, and then repeatedly fails to
updates their times ; and then the story repeats itself.
The situation is illustrated by the log snippet below, where I have
changed file names to
2008 Feb 15
4
Revised flags patch
Hi,
first of all, sorry for taking so long. Unfortunately, some other tasks
kept coming up. Anyway, attached is the version of the flags patch, that
is based on the one I'm using with 2.6.9. It is against the rsync-3.0.0pre9
release.
I've included the option name change from the repository, so the
option is now called --fileflags. Improved from the previously
distributed version is the
2002 Sep 10
0
[PATCH] Add --preserve-atime switch to rsync
In the past there have been discussions about adding a switch to rsync to
preserve the atime on files being copied by rsync. I needed this function
for a project I'm working on and decided to invent it. I've attached the
diffs. Note that this has the limitations describe in previous emails,
namely that preserving atime causes ctime to not be preserved.
*** Patch follows ***
***
2002 Nov 10
0
bug with symlinks
Hello,
I am mirroring the debian tree using rsync. I realised following bug.
Version: 2.5.5-0.2 on Debian GNU/Linux. Rsync did not correct old symlinks.
# ls -l debian-non-US/dists/
total 60
drwxr-xr-x 2 root root 4096 Apr 17 2001 Debian2.2r7/
drwxr-xr-x 2 root root 4096 Feb 28 2001 Debian3.0r0/
drwxr-xr-x 2 root root 4096 Nov 10 02:30
2004 Aug 05
0
[Bug 1582] New: rsync dry run cannot find missing folders, contradicts actual run.
https://bugzilla.samba.org/show_bug.cgi?id=1582
Summary: rsync dry run cannot find missing folders, contradicts
actual run.
Product: rsync
Version: 2.6.2
Platform: All
OS/Version: IRIX
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
2009 May 15
1
rsync creates file twice
Hi,
I'm using rsnapshot 1.3.1 on a Synology Diskstation ds 107+.
# uname -a
Linux ds107 2.6.15 #832 Sat Mar 7 00:44:45 CST 2009 armv5tejl GNU/Linux
rsnpahot uses rsync, on my box there is:
# rsync --version
rsync version 3.0.6 protocol version 30
Copyright (C) 1996-2009 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit
2001 Sep 01
3
Patch to make rsync preserve access times
Bradley, and the rsync development team,
I came across the following message on the rsync bug tracking system, while
searching for just this feature (access time preservation)...
http://rsync.samba.org/cgi-bin/rsync/incoming?id=2509;expression=atime;user=guest
... where it is written...
> Date: Mon, 7 Feb 2000 02:59:42 -0500
> From: "Bradley M. Kuhn" <bkuhn@ebb.org>
>
2006 Oct 11
4
"Invalid file index" failures, suspicious index numbers
I've trying to do a backup from a remote host to a local machine via
rsync using the following configuration:
Remote host (Red Hat Enterprise Linux ES3):
$ uname -srmpi
Linux 2.4.21-47.EL i686 athlon i386
$ cat /etc/redhat-release
Red Hat Enterprise Linux ES release 3 (Taroon Update 8)
$ rsync --version
rsync version 2.6.8 protocol version 29
Local machine (Mac OS X 10.4.8, Intel):
$
2018 Jul 11
5
[Bug 13522] New: Patch fileflags.diff and crtimes.diff
https://bugzilla.samba.org/show_bug.cgi?id=13522
Bug ID: 13522
Summary: Patch fileflags.diff and crtimes.diff
Product: rsync
Version: 3.1.3
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: core
Assignee: wayned at samba.org
Reporter:
2010 Oct 30
1
osx remote backup wrong permissions
Hi All,
I'm trying a remote backup for the first time. It is between two laptops, I installed rsync 3.0.7 on both compiled
patch -p1 <patches/fileflags.diff
patch -p1 <patches/crtimes.diff
patch -p1 <patches/crtimes-64bit.diff
patch -p1 <patches/crtimes-hfs+.dif
f
patch -p1 <patches/hfs_compression.diff
./configure
make
this all works perfectly for local backups, clones
2010 Jan 05
2
Ignoring parts of stat(2)
How do I make rsync ignore and not report or update certain parts
of the [l]stat(2) struct or checksum when selecting which items to
report or update in a hierarchy?
For example, I want to run:
rsync -Haxi --delete /hier1/ /hier2/
and have it NOT do anything if say ONLY the modtime differs.
Leaving out or in the --times [-t] option from the expansion of -a
to -rlptgoD obviously does not do this.
1999 Apr 08
0
Keep-timestamp-in-`get'-patch for smbclient in samba-2.0.3
--------
--Multipart_Thu_Apr__8_13:33:51_1999-1
Content-Type: text/plain; charset=US-ASCII
Hello guys,
I always wondered why smbclient keeps timestamp in `put'ting a file
but does not keep it in `get'ting a file. Alternative to keep the
time stamp in `get'ting file is to use -Tc option or smbtar script,
but they are a bit hairy for interactive use, and it can only dump
files with an