AgentD / squashfs-tools-ng

A new set of tools and libraries for working with SquashFS images
Other
194 stars 30 forks source link

Binary patching tools #54

Closed AgentD closed 5 months ago

AgentD commented 4 years ago

A very often demanded feature:

Producing the patch file will be added to sqfsdiff that does all the heavy lifting. A second program sqfspatch that is as dumb as possible and designed for a resource constrained setting applies the patch.

The patch format itself will be a custom format to take maximum advantage of the knowledge about the internal SquashFS structure and more likely stream compressed.

pgaskin commented 4 years ago

It would also be useful to be able to directly produce a patch for a squashfs file directly from the source.

I currently use squashfs for my secondary backups (borg is my main one, and it runs hourly), but I currently need to use a combination of overlayfs and the squashfs tools to do differential backups from the full snapshots (I take a full one every 2 months, then do a differential from that every week, and discard old ones).