Displaying 20 results from an estimated 300 matches similar to: "[PATCH] [TRIVIAL] whitespace + variable rename"
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
2005 Oct 27
0
Converting OS X UTF-8 NFD to UTF-8 NFC
To make rsync work better when rsyncing between OS X (whose filenames
are encoded in UTF-8 NFD form) and just about every other OS (whose
filenames are encoded in UTF-8 NFC form), I wrote a little patch for
rsync that converts the filenames to NFC before sending them to the
other side.
It uses libidn for that, and currently has no option to enable/disable
this behaviour, but since on OS X all
2005 Mar 02
0
[Bug 2408] New: when more than --max-delete files are about to be deleted no error is returned
https://bugzilla.samba.org/show_bug.cgi?id=2408
Summary: when more than --max-delete files are about to be
deleted no error is returned
Product: rsync
Version: 2.6.3
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo:
2002 Mar 06
0
rsync hangs in read_int (generator.c line 498)
Hello
I'm having a heck of a time rsync'ing (is that the proper conjugation?
:)) between two Cygwin machines. I have three directory trees that are
"exposed" via rsynch. Two of the three have a very shallow structure,
and they work fine. The third, however, has a fairly deep structure and
many more files than the other two, and rsync'ing this directory causes
a hang on
2004 May 29
1
[patch] Filename conversion
Hi,
One feature missing from rsync, and requested on this list before, is
on-the-fly conversion of filename character encoding. For example, I
often need to sync files having Hebrew filenames from a UTF-8 system
(Linux) to an ISO8859-8 system (Cygwin on Windows 2000 using the
non-Unicode Win32 interface). Other circumstances surely abound.
Attached is a patch against rsync 2.6.2 that adds an
2003 Sep 05
1
new option suggestion '--backup-only'
Hi,
How about adding now option '--backup-only' that means making backups
only and don't change any destination files?
(I posted similar patch a month ago, but the patch was made for
nightly snapshot of 20020808, which was tooo old! Laugh at me...)
I want to use rsync with LVM snapshot to make incremental backups like
below:
1) Make LVM snapshot of file system and mount it.
2018 Dec 15
0
[PATCH nbdkit v2 3/4] sh: Switch nbdkit-sh-plugin to use API version 2.
This allows us to add the following callbacks:
- can_zero returns boolean
- can_fua should print "none", "emulate" or "native"
Furthermore the following callbacks are modified in a backwards
compatible manner:
- pwrite adding flags parameter
- trim adding flags parameter
This change is not backwards compatible:
- zero may_trim
2020 Mar 19
0
[nbdkit PATCH 1/2] sh, eval: Cache .can_zero and .can_flush
In commit c306fa93ab and neighbors (v1.15.1), a concerted effort went
into caching the results of .can_FOO callbacks, with commit messages
demonstrating that a plugin with a slow callback should not have that
delay magnified multiple times. But nothing was added to the
testsuite at the time, and with the sh and eval plugins, we still have
two scenarios where we did not take advantage of the
2008 Sep 03
0
rsync-3.0.3 crashes with protection exception
Hi,
I'm new to rsync and currently installing rsync-3.0.3 to a OS/390 Unix System Services environment. The build process runs fine and does not produce errors. But if I test the program, it crashes everytime with a protection exception. rsync-2.6.9 was running fine!
I can't figure out why exactly it crashes. I hope that someone on this list can give me a hint on that.
This is the debug
2017 Jun 08
0
[Bug 12806] Deleting in a row of hardlinked snapshots resets file permissions.
https://bugzilla.samba.org/show_bug.cgi?id=12806
--- Comment #4 from Heinz-Willi Wyes <hww at delember-wyes.de> ---
I got a personal message from Lars Ellenberg that went also to
samba-bugs at samba.org and rsync-qa at samba.org. He wrote:
------------------
Calling chmod only on (optimization: non-empty) directories would fix this.
I don't need to chmod a *file* before unlinking it, I
2007 Aug 01
0
[PATCH] handle dir entries with zero length(!)
It's probably a kernel bug, and I shouldn't have tried to backup /sys on
a linux system, but rsync dumped core on me due to the following:
$ ls -al /sys/module/usbcore/parameters | cat -vet
total 0$
drwxr-xr-x 2 root root 0 2007-07-26 18:50 $
drwxr-xr-x 2 root root 0 2007-07-26 18:50 .$
drwxr-xr-x 4 root root 0 2007-06-15 20:34 ..$
-rw-r--r-- 1 root root 4096 2007-07-26 18:50
2005 Mar 21
4
Patch: Offline transfer mode
Hi All,
Here's an rsync patch which adds an --offline flag, letting you transfer
changed blocks via removable media, while still comparing checksums via
the net. I expect this could be very popular for the growing number of
people who want to do disk-based offsite backups, which is what I needed
it for.
It took me longer than I hoped, but still only several hours to work
this out -- it
2010 Mar 08
1
Getting EEXIST out of make_bak_dir()
I have users running rsync 3.0.6 on Mac OS 10.5 and 10.6 with the following arguments (for example):
rsync -aNHAXx --fileflags --force-change --no-inc-recursive --delete-during --filter="P _Archive*" --filter="P /*" --backup --backup-dir="_Archive_2010_March_07_22-27-43" / /Volumes/Backup
I can't seem to figure out how make_bak_dir could be returning this error
2010 Jul 09
8
DO NOT REPLY [Bug 7565] New: --check-point=<TIME> +options.c.patch +generator.c.patch
https://bugzilla.samba.org/show_bug.cgi?id=7565
Summary: --check-point=<TIME> +options.c.patch
+generator.c.patch
Product: rsync
Version: 3.0.7
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned at samba.org
2009 Aug 13
3
DO NOT REPLY [Bug 6636] New: Deallocation of a pointer not malloced
https://bugzilla.samba.org/show_bug.cgi?id=6636
Summary: Deallocation of a pointer not malloced
Product: rsync
Version: 3.0.6
Platform: PPC
OS/Version: Mac OS X
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy: aaro at iki.fi
2004 Jan 17
1
--delete-sent-files (AKA --move-files)
Yes, it's time once again to return to the subject of moving files.
With the recent changes to the communications code between the receiver
and the generator, there is now a non-clogging channel that we can use
to signal the sender when a file has been successfully transferred,
which allows us delete the original for all transferred files. I have
in the past waffled on whether this feature
2004 Jan 19
3
Improving name-truncation detection
I've got a patch that changes f_name_to() to return an unsigned int
(like snprintf() and strlcpy() do) and adds checking to ensure that we
didn't overflow the name before we try to use it:
http://www.blorf.net/name-overflow.patch
If anyone would care to check out the following patch before I commit
it, please do.
..wayne..
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
2011 Jul 17
11
[Bug 8308] New: rsync: exclude.c:532: change_local_filter_dir: Assertion `dir_depth < 4096/2+1' failed
https://bugzilla.samba.org/show_bug.cgi?id=8308
Summary: rsync: exclude.c:532: change_local_filter_dir:
Assertion `dir_depth < 4096/2+1' failed
Product: rsync
Version: 3.0.8
Platform: x86
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: core
2002 Apr 23
1
patch: timeout problem solved
hi,
I made some changes to generator.c :
- reading data, calculating checksums and sending it to the sender now
happens in one loop.
- the code has become shorter
- it uses less memory
- 2 malloc's less that may fail
- the line will be used all the time
- it should be a bit faster
It seems to work for me, please have a look at it.
You should run "make proto" after