Chance of equal checksum and changing blocks

David de Lama david.delama at web.de
Tue Jan 27 11:05:09 GMT 2009


-----Ursprüngliche Nachricht-----
Von: "Paul Slootman" <paul+rsync at wurtel.net>
Gesendet: 27.01.09 11:25:31
An: rsync at 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 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 mentions:
    
    conv=CONVS
           convert the file as per the comma separated symbol list
    ...
    Each CONV symbol may be:
    ...
    notrunc
           do not truncate the output file

Hence try adding conv=notrunc


Paul Slootman
-- 





IT WORKED!!!
1000 Thanks! :)

David


__________________________________________________________________
Deutschlands größte Online-Videothek schenkt Ihnen 12.000 Videos!*
http://entertainment.web.de/de/entertainment/maxdome/index.html



More information about the rsync mailing list