diff options
-rw-r--r-- | usr.bin/bsdiff/bsdiff/bsdiff.1 | 32 | ||||
-rw-r--r-- | usr.bin/bsdiff/bspatch/bspatch.1 | 32 |
2 files changed, 38 insertions, 26 deletions
diff --git a/usr.bin/bsdiff/bsdiff/bsdiff.1 b/usr.bin/bsdiff/bsdiff/bsdiff.1 index 304285e..5c608b4 100644 --- a/usr.bin/bsdiff/bsdiff/bsdiff.1 +++ b/usr.bin/bsdiff/bsdiff/bsdiff.1 @@ -27,37 +27,43 @@ .\" .Dd May 18, 2003 .Dt BSDIFF 1 -.Os FreeBSD +.Os .Sh NAME .Nm bsdiff -.Nd generate a patch between two binary files +.Nd "generate a patch between two binary files" .Sh SYNOPSIS .Nm -.Ao Ar oldfile Ac Ao Ar newfile Ac Ao Ar patchfile Ac +.Ar oldfile newfile patchfile .Sh DESCRIPTION +The .Nm +utility compares -.Ao Ar oldfile Ac +.Ar oldfile to -.Ao Ar newfile Ac +.Ar newfile and writes to -.Ao Ar patchfile Ac -a binary patch suitable for use by bspatch(1). +.Ar patchfile +a binary patch suitable for use by +.Xr bspatch 1 . When -.Ao Ar oldfile Ac +.Ar oldfile and -.Ao Ar newfile Ac +.Ar newfile are two versions of an executable program, the patches produced are on average a factor of five smaller than those produced by any other binary patch tool known to the author. .Pp +The .Nm -uses memory equal to 17 times the size of -.Ao Ar oldfile Ac , +utility +uses memory equal to 17 times the size of +.Ar oldfile , and requires -an absolute minimum working set size of 8 times the size of oldfile. +an absolute minimum working set size of 8 times the size of +.Ar oldfile . .Sh SEE ALSO .Xr bspatch 1 .Sh AUTHORS -.An Colin Percival Aq cperciva@freebsd.org +.An Colin Percival Aq cperciva@FreeBSD.org diff --git a/usr.bin/bsdiff/bspatch/bspatch.1 b/usr.bin/bsdiff/bspatch/bspatch.1 index a428b84..894bc50 100644 --- a/usr.bin/bsdiff/bspatch/bspatch.1 +++ b/usr.bin/bsdiff/bspatch/bspatch.1 @@ -27,33 +27,39 @@ .\" .Dd May 18, 2003 .Dt BSPATCH 1 -.Os FreeBSD +.Os .Sh NAME .Nm bspatch -.Nd apply a patch built with bsdiff(1) +.Nd apply a patch built with +.Xr bsdiff 1 .Sh SYNOPSIS .Nm -.Ao Ar oldfile Ac Ao Ar newfile Ac Ao Ar patchfile Ac +.Ar oldfile newfile patchfile .Sh DESCRIPTION +The .Nm +utility generates -.Ao Ar newfile Ac +.Ar newfile from -.Ao Ar oldfile Ac +.Ar oldfile and -.Ao Ar patchfile Ac +.Ar patchfile where -.Ao Ar patchfile Ac -is a binary patch built by bsdiff(1). +.Ar patchfile +is a binary patch built by +.Xr bsdiff 1 . .Pp +The .Nm -uses memory equal to the size of -.Ao Ar oldfile Ac -plus the size of -.Ao Ar newfile Ac , +utility +uses memory equal to the size of +.Ar oldfile +plus the size of +.Ar newfile , but can tolerate a very small working set without a dramatic loss of performance. .Sh SEE ALSO .Xr bsdiff 1 .Sh AUTHORS -.An Colin Percival Aq cperciva@freebsd.org +.An Colin Percival Aq cperciva@FreeBSD.org |