From owner-freebsd-arch@FreeBSD.ORG Mon Sep 20 13:37:35 2010 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A51B4106566C; Mon, 20 Sep 2010 13:37:35 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: from zibbi.meraka.csir.co.za (unknown [IPv6:2001:4200:7000:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id C6F3A8FC08; Mon, 20 Sep 2010 13:37:34 +0000 (UTC) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id 200D039822; Mon, 20 Sep 2010 15:37:32 +0200 (SAST) Date: Mon, 20 Sep 2010 15:37:32 +0200 From: John Hay To: Andriy Gapon Message-ID: <20100920133732.GA66641@zibbi.meraka.csir.co.za> References: <20100917234542.GE1902@garage.freebsd.pl> <16411667@ipt.ru> <20100920124707.GB2410@garage.freebsd.pl> <4C975AA8.1040106@icyb.net.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C975AA8.1040106@icyb.net.ua> User-Agent: Mutt/1.4.2.3i Cc: Boris Samorodov , freebsd-current@FreeBSD.org, Pawel Jakub Dawidek , krad , freebsd-arch@FreeBSD.org Subject: Re: gptboot rewrite, bootonce, etc. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 13:37:35 -0000 On Mon, Sep 20, 2010 at 03:59:20PM +0300, Andriy Gapon wrote: > on 20/09/2010 15:47 Pawel Jakub Dawidek said the following: > > No, it doesn't. ZFS works a bit differently. ZFS operate on pools, not > > really on partitions. One ZFS file system can span multiple > > disks/partitions. I'm not yet sure how to implement it, so it is > > intuitive, but I also haven't spend much time thinking about it. We > > needed UFS and that is what I implemented. It took me much more time > > than I expected anyway:) > > Maybe reserve some area inside zfs boot2 and put relevant information there. > Similarly to how boot0cfg modifies data within boot0. > The information could include "nextboot-pool" and "nextboot-fs". nextboot-fs sounds nice. I use the bootfs property of zpool and it would be nice if one can override it from the boot2 commandline. John -- John Hay -- jhay@meraka.csir.co.za / jhay@FreeBSD.org