Displaying 20 results from an estimated 500 matches similar to: "[PATCH] --links-depth for rsync"
2004 Apr 10
0
patches for copying atimes
Hi.
Here's a patch for copying the atimes of files when -t/--times is
given. I bumped the protocol to 29 since it sends more data over the
wire. It obviously does not send the atime if it's sending data to an
older rsync version.
It passes all the tests (including the added atime.test) for me on a:
Linux Debian/3.0 gcc 2.95.4 (debian), glibc 2.2.5 system.
Any questions/feedback? I
2004 Jan 25
2
scan for first existing hard-link file
Here's a patch that makes rsync try to find an existing file in a group
of hard-linked files so that it doesn't create the first one in the
group from scratch if a later file could be used instead.
Details: I decided to avoid having the code do an extra scan down the
list when we encounter the lead file in the list. This is because it
would be bad to have to do the same scan in the
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?
2004 Feb 10
3
rsync 2.6.1cvs dumps core when preserve_hard_links and backup
I tried rsync 2.6.1cvs on my FreeBSD 4.X boxes.
It dumps core when preserve_hard_links and backup.
And SUPPORT_HARD_LINKS is true.
rsync -avH --delete --backup --backup-dir=/some/backup/dir \
srchost::dir/ dir/
The core says...
------------------------------------------------------------------------
Program terminated with signal 11, Segmentation fault.
#0 0x80536c0 in keep_backup
2004 Feb 06
4
memory reduction
As those of you who watch CVS will be aware Wayne has been
making progress in reducing memory requirements of rsync.
Much of what he has done has been the product of discussions
between he and myself that started a month ago with John Van
Essen.
Most recently Wayne has changed how the file_struct and its
associated data are allocated, eliminating the string areas.
Most of these changes have been
2004 Sep 30
1
passwd syncing?
Can Samba provide a central service for mapping or syncing username and
password across different applications
for example AD users accounts and Lotus Notes "ClientID's" ... (something
just shy of a metadirectory service)
I've used Samba in a past life do something simular and sound like Samba has
matured significantly.
any thoughts ... or am I hunting down the wrong hole
-james
2005 Jun 09
0
[Bug 2784] New: rsync gives following error: buffer overflow in receive_file_entry
https://bugzilla.samba.org/show_bug.cgi?id=2784
Summary: rsync gives following error: buffer overflow in
receive_file_entry
Product: rsync
Version: 2.6.3
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned@samba.org
2005 Jun 09
0
[Bug 2785] New: rsync gives following error: buffer overflow in receive_file_entry
https://bugzilla.samba.org/show_bug.cgi?id=2785
Summary: rsync gives following error: buffer overflow in
receive_file_entry
Product: rsync
Version: 2.6.3
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned@samba.org
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
2010 Jun 15
3
about rsyncing of block devices
Hiya,
I can see it's a regular subject on this list.
I, like others wanted to use rsync to synchronise two block
devices (as it happens one lvm volume and one nbd device served
by qemu-img on a remote host from a qcow2 disk image so that I
can keep the old versions)
As I couldn't find any report of it being done successfully,
I'm just sharing my findings as it might benefit others.
2009 Oct 15
1
PATCH: --write-devices to allow synchronising to a block device
Hi List,
I had a need recently to efficiently synchronise between some large LUNs
(boot drive disks) at two different datacentres. Solutions like drbd and
$proprietary_array_vendors_software were overkill - we only needed
(wanted!) to periodically synchronise these LUNs whenever major changes
were generated on the source. On the other hand however, re-sending the
entire disk contents each time
2008 May 08
1
Patch to not modify files in place unless "--inplace" option specified
Skipped content of type multipart/alternative-------------- next part --------------
diff -urN rsync-3.0.2-orig/generator.c rsync-3.0.2/generator.c
--- rsync-3.0.2-orig/generator.c 2008-03-28 10:30:11.000000000 -0700
+++ rsync-3.0.2/generator.c 2008-05-07 15:35:08.317364774 -0700
@@ -1508,6 +1508,7 @@
if (preserve_links && S_ISLNK(file->mode)) {
#ifdef SUPPORT_LINKS
+ int iflags =
2001 Nov 13
2
direct write patch
I have attached a patch that supports a new "--direct-write" option.
The result of using this option is to write directly to the destination
files, instead of a temporary file first.
The reason this patch is needed is for rsyncing to a device where the
device is full or nearly full.
Say that I am writing to a device that has 1 Meg free, and a 2 meg file
on that device is out of date.
2002 Dec 05
1
Patch to ignore exluded files.
I came up with a patch to fix the problem of IO Errors caused by
excluded files as did Eugene V. Chupriyanov below.
Is there a chance that this change will show up in a future version of
rsync?
Is there a reason that we should not ignore IO errors when copy_links is
off? Just want to make sure that I'm not missing something here that
may corrupt my syncs....
Here's the version that
2003 Jan 14
3
.rsync-/.rsync+ patch and --link-dest example
This is a patch to add an --rsync-exclude option to rsync-2.5.6cvs.
File names in .rsync- (or .rsync+) are excluded (or included) from the file
lists associated with the current directory and all of its subdirectories.
This has advantages over --cvs-exclude for backing up large file systems
since the .cvsignore files only apply to the current directory:
unless the .cvsignore restrictions apply
2003 Mar 20
2
--link-dest uid/gid checking bug?
Hi --
I was very keen to download rsync and give it a whirl with the
new --link-dest feature. However, I was terribly puzzled when I
couldn't seem to get it working, even though --compare-dest with
the same argument would work. It seemed like new files would
be transferred even though files existed in the compare-dest/link-dest
location; compare-dest would detect them but link-dest would
2002 Mar 28
1
rsync raising an IO error for an excluded file
Hi,
when syncing from windows NT/cygwin to linux usimg rsync 2.5.2 I get the following error:
readlink pagefile.sys: Permission denied
IO error encountered - skipping file deletion
pagefile.sys is however in the exclude-list, so I think rsync shouldn't care that it can't stat the file.
The code fragment responsible is
if (readlink_stat(fname, &st, linkbuf) != 0) {
2003 Feb 16
1
rsync-exclude.patch.
> I like the idea of your rsync-exclude.patch and have thought
> about hacking it in myself. However as you already have done the work
> may I make a small suggestion...... can the name of the exclude file
> (your .rsync) be specified in the flags.... e.g.
>
> rsync --rsync-exclude=.snapshot -axvH /here /there
>
> In this way different invocations (e.g. system and
2002 Jul 24
0
couple of minor fixes to rsync 2.5.5
Dear friends!
I really appriciate the great job you did on rsync package and hope for its
further improvement and development. It works great in our pretty complex
environment and helps us a lot in our daily duties.
But we've run into couple of small inconveniences.
First one:
We use rsyncd to propagate a tree of html files among several web-servers.
That files are generated on the fly and
2004 Apr 09
3
include/exclude bug in rsync 2.6.0/2.6.1pre1
As mentioned on the rsync home page, the --files-from=FILE option in rsync
version 2.6.0 is a useful option that allows one to "specify a list of
files to transfer, and can be much more efficient than a recursive descent
using include/exclude statements (if you know in advance what files you want to
transfer)".
However, --files-from does not help one implement the --rsync-exclude=FILE