i guess it should be equally or smarter than diff in figuring out
which blocks only to transmit.
so the efficiency here is in transmitting only the difference.

as for writing the files into disk. it shouldn't be slower than scp, cp, or dd.

and there's another question. how fast does rsync read files? as fast as grep?

On Sun, 6 Mar 2005 14:42:21 -0500 (EST), [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Ariz wrote:
> 
> > afaik, rsync will copy the file (depends on the input arguments).
> > and if rsync does support your example, it would alter the whole
> > line.
> 
> Just to clarify, in the example I gave, the strings do
> not represent single letters, but rather chunks of data.
> (e.g. say each letter represents around 5MB of data).
> 
> So
> 
> ABCDEFGHIJKLMNOPQRSTUVWXYZA
> 
> would not be a line but a file of around 1800 MB.
> I am wondering how efficiently rsync would update
> a backup file if, like the example shows, two
> 15MB chunks get inserted in the positions shown
> by 123 and 456 below:
> 
> ABCDEFGHI123JKLMNOPQ456RSTUVWXYZA
> 
> Will it have to update all the blocks starting from
> 1 (i.e. from the 50th MB) or somehow be able to
> 'insert' the new data?
> 
> I am wondering because if, for example, you insert
> (not modify) 10 bytes in the beginning of a
> 650MB ISO, will rsync handle this efficiently?
> 
> I am also curious about the low-level operations
> involved, since you do not seem to be able to do
> inserts via fopen(), lseek() and write(), so how
> will such an action translate into C calls()?
> --
> Philippine Linux Users' Group (PLUG) Mailing List
> plug@lists.q-linux.com (#PLUG @ irc.free.net.ph)
> Official Website: http://plug.linux.org.ph
> Searchable Archives: http://marc.free.net.ph
> .
> To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
> .
> Are you a Linux newbie? To join the newbie list, go to
> http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
>
--
Philippine Linux Users' Group (PLUG) Mailing List
plug@lists.q-linux.com (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to