From owner-freebsd-stable@FreeBSD.ORG Sat Nov 17 16:05:30 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27E7616A417; Sat, 17 Nov 2007 16:05:30 +0000 (UTC) (envelope-from me@janh.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by mx1.freebsd.org (Postfix) with ESMTP id 8205013C455; Sat, 17 Nov 2007 16:05:29 +0000 (UTC) (envelope-from me@janh.de) Received: from janh.freebsd (d116131.adsl.hansenet.de [80.171.116.131]) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis) id 0ML2xA-1ItQAb1yo9-0005Ms; Sat, 17 Nov 2007 17:05:22 +0100 Message-ID: <473F1140.9040705@janh.de> Date: Sat, 17 Nov 2007 17:05:20 +0100 From: Jan Henrik Sylvester User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Colin Percival References: <473B5D10.1070109@janh.de> <473BD54F.9050808@freebsd.org> <473C1FD1.70001@janh.de> <473DA6B5.10107@freebsd.org> <473EF438.5090004@janh.de> <473F0939.9050800@freebsd.org> In-Reply-To: <473F0939.9050800@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1+XoWMHdsEcrX1QZxArdTuTGo06RvGxCx4v73M J/c2HL+fyRp/4vn79579NwchzAIDqUW5StBZ0vdv04Wuw4HftA OFY5b+KY+Q0YbjyRDKTZw== Cc: stable-list freebsd Subject: Re: freebsd-update 6.2-R -> 6.3-B1 rollback failed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2007 16:05:30 -0000 Colin Percival wrote: > Depending on the UpdateIfUnmodified option in freebsd-update.conf, it will > either update files to "clean" new versions or print a warning message and > not touch them. > > There's also an IgnorePaths directive which you can use to tell FreeBSD > Update not to touch some files (even if they haven't been modified locally). > > FreeBSD Update will never produce mangled files as a result of applying a > bsdiff patch to the wrong file -- it checks file hashes before and after > applying patches and gracefully falls back to downloading complete files > if it can't generate a file via patching. If freebsd-update allowed an 'upgrade' to the version already installed, one could (mis)use it as a tool to repair a 'broken' system... (probably a naive idea.) Jan Henrik