<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jul 10, 2014 at 9:08 AM, 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
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></blockquote><div><br></div><div>If modifying an _image_ is your purpose, and you want to avoid distributing the whole image, and you can do that 'offline' (i.e. you have two partitions, one active, second for upgrade and boot from - so you don't touch a system with a mounted filesystem), and you have your way to manage this versioning (i.e. you know for a fact what the previous image blob is, so what you need is really the blocks that changed from it) - maybe take a look at <a href="http://xdelta.org/">http://xdelta.org/</a><br>
<br></div><div>-- Shimi<br></div></div><br></div></div>