Re: Chance of equal checksum and changing blocks

2009-01-27 Thread David de Lama
Here's an example. Suppose the block size is 900 bytes (i.e., you either specified --block-size=900 or saw blength=900 in the output). Then you could use the following command to overwrite blocks 40 through 45 of the file (counting from 0) with zeros: dd bs=900 if=/dev/zero of=/home/test.xyz

Re: Chance of equal checksum and changing blocks

2009-01-27 Thread Paul Slootman
On Tue 27 Jan 2009, David de Lama wrote: Then I wanted to overwrite 25 blocks: dd bs=1M if=/dev/urandom of=/home/test.xyz seek=50 count=25 But when I look at the file, its size is now 76.8MB! So all the Blocks after block 75 are deleted! :( Need help, please! Try the dd manpage, which

Re: Chance of equal checksum and changing blocks

2009-01-27 Thread David de Lama
-Ursprüngliche Nachricht- Von: Paul Slootman paul+rs...@wurtel.net Gesendet: 27.01.09 11:25:31 An: rsync@lists.samba.org Betreff: Re: Chance of equal checksum and changing blocks On Tue 27 Jan 2009, David de Lama wrote: Then I wanted to overwrite 25 blocks: dd bs=1M if=/dev/urandom

DO NOT REPLY [Bug 6067] New: IPv6 literal addresses broken

2009-01-27 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=6067 Summary: IPv6 literal addresses broken Product: rsync Version: 3.0.4 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component:

rsync compression (-z) and timestamp

2009-01-27 Thread David de Lama
Hi @all! Sorry about that many questions, but after searching and reading tons different web sites, I didn't find exactly what I am searching for. So, I know that with the -z Option rsync compresses the files with gzip, than the files are transfared and at the target machine uncompressed. I

Re: rsync compression (-z) and timestamp

2009-01-27 Thread Paul Slootman
On Tue 27 Jan 2009, David de Lama wrote: So, I know that with the -z Option rsync compresses the files with gzip, than the files are transfared and at the target machine uncompressed. No, the data over the wire is compressed with the -z option; not the file. I made a test and transfered a

Re: rsync compression (-z) and timestamp

2009-01-27 Thread Paul Slootman
On Tue 27 Jan 2009, Paul Slootman wrote: No, the data over the wire is compressed with the -z option; not the file. Correction: more specifically, the data between the sender and the receiver processes is compressed. Unfortunately this also happens when the transfer is local and -z happens to

Re: rsync compression (-z) and timestamp

2009-01-27 Thread Matt McCutchen
On Tue, 2009-01-27 at 14:49 +0100, Paul Slootman wrote: Unfortunately this also happens when the transfer is local and -z happens to be passed as an option; the result is that the transfer is slowed down significantly without any benefit at all. Rsync should perhaps give a warning about the

Re: rsync compression (-z) and timestamp

2009-01-27 Thread David de Lama
@Paul: Yes, I ran sync on both machines. The same results! :( @Matt: I want to test it local, but how can I do it? I don't see the amount of data rsync do compress. ___ NUR NOCH BIS 31.01.! WEB.DE FreeDSL - Telefonanschluss +

Re: rsync compression (-z) and timestamp

2009-01-27 Thread Sven Hartrumpf
Tue, 27 Jan 2009 15:17:15 +0100, david.delama wrote: Yes, I ran sync on both machines. The same results! :( sync is not enough. You will need to call a script dropcaches.sh that should contain (at least?): - # dropcaches.sh # deletes

DO NOT REPLY [Bug 5867] rsync with ACLs resets mtime on targets

2009-01-27 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5867 sa...@byshenk.net changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

Re: rsync compression (-z) and timestamp

2009-01-27 Thread Sven Hartrumpf
Tue, 27 Jan 2009 15:17:15 +0100, david.delama wrote: I want to test it local, but how can I do it? I don't see the amount of data rsync do compress. -v should do. Example: rsync -z -v gcc-4.3.3.tar a gcc-4.3.3.tar sent 78,192,949 bytes received 31 bytes 3,191,550.20 bytes/sec total size is

Re: rsync compression (-z) and timestamp

2009-01-27 Thread Matt McCutchen
On Tue, 2009-01-27 at 15:17 +0100, David de Lama wrote: I don't see the amount of data rsync do compress. Use the %b log escape (see the rsyncd.conf(5) man page) to see the amount of data actually sent over the wire to transfer each file. Example: $ rsync -r -z --out-format='%10b %10l %n'

Re: rsync-phenomenon

2009-01-27 Thread August C. Quint
Am Dienstag, 20. Januar 2009 schrieben Sie: On Sun, Jan 18, 2009 at 01:03:29PM +0100, August C. Quint wrote: I've created a little script that makes a backup of my home-directory using rsync. When I call this script again _all files_ will be copied again. You should ask rsync to tell you

Re: rsync compression (-z) and timestamp

2009-01-27 Thread lewis butler
On 27-Jan-2009, at 06:49, Paul Slootman wrote: On Tue 27 Jan 2009, Paul Slootman wrote: No, the data over the wire is compressed with the -z option; not the file. Correction: more specifically, the data between the sender and the receiver processes is compressed. Unfortunately this also

Re: [patch] Replace illegal characters in filenames for FAT (switch)

2009-01-27 Thread Matt McCutchen
Jonas, please CC rsync@lists.samba.org so that others can help you and your messages are archived for others' future benefit. On Sun, 2009-01-25 at 20:00 +0100, Jonas Häggqvist wrote: Matt McCutchen wrote: On Sat, 2009-01-24 at 23:59 +0100, Jonas Häggqvist wrote: This patch adds a switch