From owner-freebsd-current@freebsd.org Thu Dec 3 00:22:11 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AA49A3E1A2 for ; Thu, 3 Dec 2015 00:22:11 +0000 (UTC) (envelope-from dnebdal@gmail.com) Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com [IPv6:2a00:1450:4010:c07::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E2C6D1309 for ; Thu, 3 Dec 2015 00:22:10 +0000 (UTC) (envelope-from dnebdal@gmail.com) Received: by lfdl133 with SMTP id l133so71972981lfd.2 for ; Wed, 02 Dec 2015 16:22:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=5Yeft2yNgTM+eKr6DeK6z+AMykCSH5PKod/Zp3O7rgI=; b=sUlUcX157Pl/rErFz63bXogQ2/Xuq2gR6tblrIMELreHf5quKxHXzTd1ehBN3uqrsE uQ2Lprzu9+w5nYcj2EvdnF5rwp3hWx6WxEGGVO6hVhdiqG82mPN22K4n6SnSPi6D6oK2 5zS8DpQtByycjE4JAKWVsGLnkgNAFvCWgRNGkcUsS43rw4+52zLZlHe6eR95Bl/ArZ5V pFqq0LqgOShJrYUbss3x89Rx/vZAZu1ViNANqUOIFv6v4G+0VsjABhYd/lDUJ5bcPpHP Mss/BB4aF4wyf/M2PBfwQYikX6aJMiPlzKO0a+32AXJQcgH77RNC7dF6HyIn6Z3LeQKM mNZw== MIME-Version: 1.0 X-Received: by 10.25.210.135 with SMTP id j129mr4338703lfg.101.1449102128882; Wed, 02 Dec 2015 16:22:08 -0800 (PST) Received: by 10.25.26.2 with HTTP; Wed, 2 Dec 2015 16:22:08 -0800 (PST) In-Reply-To: <20151202214329.GL1669@albert.catwhisker.org> References: <20151202213924.GA29322@dendrobates.araler.com> <20151202214329.GL1669@albert.catwhisker.org> Date: Thu, 3 Dec 2015 01:22:08 +0100 Message-ID: Subject: Re: Best way to update FreeBSD 11 ? From: Daniel Nebdal To: Sergey Manucharian , Current Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 00:22:11 -0000 On Wed, Dec 2, 2015 at 10:43 PM, David Wolfskill wrote: > On Wed, Dec 02, 2015 at 02:39:24PM -0700, Sergey Manucharian wrote: >> Hello, >> >> What is the best way to update FreeBSD 11-CURRENT? >> Initially I've installed it from an image from [0] a couple of months ago. >> ... > > That depends on why you are considering the update. > > For me, I do in-place source updates "fairly" often (ref. src/UPDATING). > > Peace, > david > -- > David H. Wolfskill david@catwhisker.org > Those who would murder in the name of God or prophet are blasphemous cowards. > > See http://www.catwhisker.org/~david/publickey.gpg for my public key. If you have root on ZFS, you can shuffle your directories around to get something compatible with beadm [1] . With that in place, you could clone your existing install, chroot into it, do the upgrade there, and then if it looks like it should work you can activate it and reboot to test. If it fails, you should be able to re-activate the previously working environment (by setting vfs.root.mountfrom to the appropriate path in the loader, I think) and be back where you were without too much fuss. With the caveat that I've barely touched this myself. [1] https://forums.freebsd.org/threads/updating-existing-zfs-layout-to-beadm.44813/ -- Daniel Nebdal