Bsdiff

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Updated heading)
(Update OPF link)
 
Line 27: Line 27:
 
* [http://www.daemonology.net/papers/thesis.pdf Doctoral thesis by author describing more sophisticated algorithm]
 
* [http://www.daemonology.net/papers/thesis.pdf Doctoral thesis by author describing more sophisticated algorithm]
 
* [http://damaestro.us/blog/bsdiff-very-interesting-binary-diff Blog discussion]
 
* [http://damaestro.us/blog/bsdiff-very-interesting-binary-diff Blog discussion]
* [http://openplanetsfoundation.org/blogs/2014-07-09-bsdiff-technological-solutions-reversible-pre-conditioning-complex-binary-objects BSDIFF: Technological Solutions for Reversible Pre-conditioning of Complex Binary Objects]
+
* [https://openpreservation.org/blogs/bsdiff-technological-solutions-reversible-pre-conditioning-complex-binary-objects/ BSDIFF: Technological Solutions for Reversible Pre-conditioning of Complex Binary Objects]
 
* [https://exponentialdecay.co.uk/blog/bsdiff-as-a-tool-for-digital-preservation/ Revisiting bsdiff as a tool for digital preservation]
 
* [https://exponentialdecay.co.uk/blog/bsdiff-as-a-tool-for-digital-preservation/ Revisiting bsdiff as a tool for digital preservation]

Latest revision as of 11:38, 29 September 2025

File Format
Name Bsdiff
Ontology
PRONOM fmt/439
Released 2003

Bsdiff is an open-source utility for generating diffs of binary files which can be distributed as patches or updates without having to send the entire set of binary data each time the package is updated. While one might think the need for such things is reduced with the much-improved bandwidth of modern times, software has also increased in size (the "bloatware" phenomenon), so the need for tools like this continues. Supposedly bsdiff generates more compact diff files than the high-priced proprietary RTPatch system.

bsdiff uses a technique called delta encoding to encode the differences between two binary objects.

bzip2 is used for compression.

There have been some forks and variant versions of bsdiff, and slightly-divergent forms are used for some platforms and software systems; for instance, there is an adapted version used for Mozilla updates (which, in turn, get put into Mozilla Archive files).

[edit] Code and downloads

[edit] Links and references

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox