<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 4:50 PM, Amos Shapira <span dir="ltr"><<a href="mailto:amos.shapira@gmail.com" target="_blank">amos.shapira@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">How about rsync's --only-write-batch/--read-batch?</div></blockquote><div><br></div><div>great<br></div>

<div>this is the closest as it gets to what i wanted<br></div><div>only caveat, is that if the system is modified, it will not merge like 'patch' does<br></div><div>however, i can live with this<br></div><div> <br>

</div><div>thanks,<br></div><div>erez.<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div></div><div class="gmail_extra"><div><div class="h5">

<br><br><div class="gmail_quote">On 10 July 2014 18:55, Erez D <span dir="ltr"><<a href="mailto:erez0001@gmail.com" target="_blank">erez0001@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">to make it clear:<br>
i need to compare two directory trees - old and new, both holds files,<br>
binaries, special files, symbolic and hard links. and create a patch<br>
file<br>
<br>
than, on another system which has a copy of the old dir tree (and<br>
possible some modifications), i need to patch it to make it a 'new'<br>
<br>
what i would like to have is somthing like rsync, which can create a<br>
diff file ...<br>
<div><div><br>
On Thu, Jul 10, 2014 at 10:39 AM, Rabin Yasharzadehe <<a href="mailto:rabin@rabin.io" target="_blank">rabin@rabin.io</a>> wrote:<br>
> I was just about to write the same suggesting,<br>
> on my current Android ROM (OmniROM) i have update system called OpenDelta<br>
> which use xdelta to create the the update images.<br>
><br>
> you can look at the code in github -<br>
> <a href="https://github.com/omnirom/android_packages_apps_OpenDelta" target="_blank">https://github.com/omnirom/android_packages_apps_OpenDelta</a><br>
><br>
> --<br>
> Rabin<br>
><br>
><br>
> On Thu, Jul 10, 2014 at 10:34 AM, shimi <<a href="mailto:linux-il@shimi.net" target="_blank">linux-il@shimi.net</a>> wrote:<br>
>><br>
>> On Thu, Jul 10, 2014 at 9:08 AM, Erez D <<a href="mailto:erez0001@gmail.com" target="_blank">erez0001@gmail.com</a>> wrote:<br>
>>><br>
>>> hello<br>
>>><br>
>>><br>
>>> i am dealing with rootfs images  i install on embedded linux<br>
>>><br>
>>> from time to time i update the rootfs - add some file, remove other,<br>
>>> update others, mknod etc ...<br>
>>><br>
>>> currently, when i do this, i need to reinstall the image<br>
>>><br>
>>> i am looking to create a patch, i can patch an old rootfs to update it<br>
>>><br>
>>> however, diff does not handle create file, remove file, special files<br>
>>> and binary files very well<br>
>>><br>
>>> i am looking for a tool that can do that.<br>
>>><br>
>>> anyone ?<br>
>>><br>
>>><br>
>><br>
>> If modifying an _image_ is your purpose, and you want to avoid<br>
>> distributing the whole image, and you can do that 'offline' (i.e. you have<br>
>> two partitions, one active, second for upgrade and boot from - so you don't<br>
>> touch a system with a mounted filesystem), and you have your way to manage<br>
>> this versioning (i.e. you know for a fact what the previous image blob is,<br>
>> so what you need is really the blocks that changed from it) - maybe take a<br>
>> look at <a href="http://xdelta.org/" target="_blank">http://xdelta.org/</a><br>
>><br>
>> -- Shimi<br>
>><br>
>><br>
>> _______________________________________________<br>
>> Linux-il mailing list<br>
>> <a href="mailto:Linux-il@cs.huji.ac.il" target="_blank">Linux-il@cs.huji.ac.il</a><br>
>> <a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
>><br>
><br>
<br>
_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il" target="_blank">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div dir="ltr">
            <a href="http://www.linkedin.com/in/gliderflyer" target="_blank">
            <span>
      
          <img src="http://s4.licdn.com/scds/common/u/img/webpromo/btn_viewmy_160x25.png" alt="View my profile on LinkedIn" height="25" width="160">
        
    </span></a></div>
</font></span></div>
</blockquote></div><br></div></div>