[Bug 283110] freebsd-update IDS vs. installed permissions for kernels (444 vs 555)

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 10 Dec 2024 20:37:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283110

--- Comment #10 from Colin Percival <cperciva@FreeBSD.org> ---
> I believe freebsd-update does not pull down both versions.  Instead, I
> think it "knows" on the server which binary diffs to send down to convert
> specific known old versions of files to the current version of each file.

For files in MergeChanges, the freebsd-update client will download both
versions and then use diff3 to merge changes.

For other files, the freebsd-update client will either leave the existing file
unchanged (UpdateIfUnmodified files with hashes which don't match the old
release) or update to the new version; that updating can optionally use binary
diffs but that's just an optimization and if binary diffs don't work then it
will fetch the entire new file.

-- 
You are receiving this mail because:
You are the assignee for the bug.