From owner-freebsd-questions@FreeBSD.ORG Sun Mar 7 11:57:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 332F1106564A for ; Sun, 7 Mar 2010 11:57:58 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-yw0-f181.google.com (mail-yw0-f181.google.com [209.85.211.181]) by mx1.freebsd.org (Postfix) with ESMTP id E94D18FC15 for ; Sun, 7 Mar 2010 11:57:57 +0000 (UTC) Received: by ywh11 with SMTP id 11so1291518ywh.13 for ; Sun, 07 Mar 2010 03:57:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=YmelhncW/nMDKhvqSvG+e10/U2vzwrye3YrBfspmg9w=; b=K14Qr4Mw3d1AtUFCfkUlnSWT6yJdCGwctaSgd2WIpk1kATMp7G3yKkSNh3oqUiZLLs NZEeA/30RcDX6etDb65jAZVjMzCHhl2l5ecgnXNRb1bpyi0Xqy+/FRr8SYQoXWA6H8HP DYonCf3jc86bkDuHO5od2Px4NLL7tjYHyb6/4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=PA/XEFlm+3BGT4Sv9/hO49yNQSEm7rL7UPxor7vDJWVozmTd/Y0PgzYwvz7biaKsCM H2VYW1i6ZNYd2zey3ykGIhhWvPkISMp+dO3mRBm+ELIZjBKCDhzInFST9mNAXFHXpOle JbX4K7JxNOBoXaaKho6EoFz9c8qHk1uTgdffs= MIME-Version: 1.0 Received: by 10.101.131.4 with SMTP id i4mr6794118ann.27.1267963077137; Sun, 07 Mar 2010 03:57:57 -0800 (PST) Date: Sun, 7 Mar 2010 13:57:57 +0200 Message-ID: From: Dan Naumov To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: freebsd-update on a 8.0 rootzfs system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Mar 2010 11:57:58 -0000 Hello folks I have a 8.0 system that uses zfsroot and gptzfsboot. It uses the GENERIC kernel and the only thing that had to be manually recompiled is obviously the bootloader, to enable zfs boot support, other then that, the system is using stock 8.0 binaries. Since fully rebuilding world and kernel on this system is a 5 hour process, I would very much like to use freebsd-update and I wanted someone to clarify the utility's behaviour. If I run freebsd-update on this system, what will it do when it detects that the bootloader binaries do not match those of stock 8.0-RELEASE? Will it: 1) Ignore the changed/recompiled bootloader files completely, only updating the binaries whose checksums it can recognize. This behaviour is alright for updating within 8.0, updating for release errata, but would cause some problems updating to 8.1 and further, since 8.1 will have zfs capable bootloader by default and having freebsd-update always completely ignore a system component that has once been recompiled sounds a bit silly. 2) Happily update the system, overwrite my custom compiled bootloader, forcing me to manually rebuild the bootloader again before I reboot the system. This I guess would actually be the desired behaviour. - Sincerely, Dan Naumov