From owner-svn-src-all@freebsd.org Fri Mar 15 03:36:48 2019 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A1F94153AA16 for ; Fri, 15 Mar 2019 03:36:48 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3FB8F85510 for ; Fri, 15 Mar 2019 03:36:48 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x72a.google.com with SMTP id b74so4708153qkg.9 for ; Thu, 14 Mar 2019 20:36:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WJi1YQf9BFWLihMcnDpxTp0+uftlDM54CmmU5RG4p90=; b=WHy9eSDXL8O6PYRQE89xy+l/wBI5UFs2MzrZ8Kb1gG1iRInX1Zf35mk7MDysEzF73N IOwhXqCYNmEFC2OXQSIfh+Fqab2GpzFi3V1kket8Hue4y5W4+FWPWJoYJBd8p9RJLSvi 5QVzLmSpxnBWVDUfb1WCxi4Vy2Gq2D5jX4w+tMGglmYkgwIC2aypMY1yNQOb17sKFaFG k+N6y22d7azJM4W6rH+WZEt4+fAo98cYbd6QE12ga/Dv+jw3M729fPWT1chd1hTMX8vD OvljwM52XA7lNIH1iOUgdIvkGlFzui1pLahAAf1sjLtjOMaalCEz0lB0Lsvhm5Rh7yiI BSXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WJi1YQf9BFWLihMcnDpxTp0+uftlDM54CmmU5RG4p90=; b=XxgOFGqaDZTcUhveOvpbYnXNX2zyMVV6/YORtOjL5B5XGUe6ueymO4M8wUVWjiZczv p19sw5mB/xs807gXtlMe7P/zO/r6WAykMpSQEXZwpU+6SPzcntlah13wkplQXEOvL206 G1OL11Q8xtrLF54KCMzk+R0ADiU/nhUatG9LpaV3OAVQcV+rdzCvXNJoAA5qVex3mhmS 2/1YH8Bz/uCrgdDRhO14EVelZgodDrZ0aCvO9OlQtAWrSlUxBw2ddz2sY07Fht8Ow5cD kQgDfb1tlD5xV/LcPylsSvbMQVdd5/Ak+sXzydRcyMSyhF8kZSGVVjQTsWz7fDFblNDp TOeQ== X-Gm-Message-State: APjAAAW4wT4DlDIFh53izDFMeztiL1jCn2NqjKkswlrsdTfr5wDFEY8g VMZn7p4ELGDp10YV0P6NPTtUX+UV6kQVZ1xBceTb1w== X-Google-Smtp-Source: APXvYqyBWuPFnb+SAqXepx+JONkl/RKt6XUwofOOv+O6I21WwvU+G+a58x/WqJY/VTuGp0tr7788cPz2j3PCZB1J5YQ= X-Received: by 2002:a37:6fc2:: with SMTP id k185mr1215388qkc.175.1552621007822; Thu, 14 Mar 2019 20:36:47 -0700 (PDT) MIME-Version: 1.0 References: <201903150239.x2F2dH9m028042@gndrsh.dnsmgr.net> In-Reply-To: From: Warner Losh Date: Thu, 14 Mar 2019 21:36:36 -0600 Message-ID: Subject: Re: svn commit: r345138 - head/share/man/man9 To: Ed Maste Cc: "Rodney W. Grimes" , src-committers , svn-src-all , svn-src-head X-Rspamd-Queue-Id: 3FB8F85510 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.985,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Mar 2019 03:36:48 -0000 On Thu, Mar 14, 2019 at 9:31 PM Ed Maste wrote: > On Thu, 14 Mar 2019 at 22:39, Rodney W. Grimes > wrote: > > > > 4. There is no easy way to show > > "changed byte at offset 0x432 from 0xef to 0xfe" > > But this is not that easy with uuencoded files, either - I'd just end > up uudecoding both files before running cmp -x. And for the case under > discussion here (firmware files) we treat them as opaque binary > objects; comparing them is generally not interesting anyway. > All binaries in the tree are versioned opaque objects. #4 isn't a use case we care about, nor is it something we can to today. > > Do we have a decent binary diff and binary patch tool? > > We have bsdiff and bspatch, but their output is not designed for human > consumption or editing. > IIRC, git also has a way to transition from one binary to another in an externalized fashion. Warner