From owner-freebsd-arch@FreeBSD.ORG Mon Sep 20 13:50:24 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 8393C106566B; Mon, 20 Sep 2010 13:50:24 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0CC558FC15; Mon, 20 Sep 2010 13:50:23 +0000 (UTC) Received: by qwg5 with SMTP id 5so3905104qwg.13 for ; Mon, 20 Sep 2010 06:50:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=z8FecAEKuSDkda9vCFgIxyWvg5KE7ncVrbUi8Gloc0o=; b=UmmkK7iR0iOtguKCoHsIZsgXLiq63sWTmoO9vDy/hYGQnlkjSNLObQtJDpkRhXioJe 3LnbZ+uB/se4vZschYOGzRWB98UszhEvEypHi6ebj8O50siDgO0uN3ICB4LfUtsXkJIN /CNcRR9W8TlqSocPra7YLi3unXs5SqmBfV8YQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=XuOV0v3XZO72N+E8w9LmpGvKzghlg57DOm+DlsfiMJnijSf+a2JLz3v68BdHGrJVCn KakFA/XYJIWvm+maRs06S7WIiE+q9UE0KND2MDd7phiS4UN0SxGxzLaw/BsDyrFP11OA vAqS3NXJ8rE9XBFtMsZcDHFv/ZF/dsIMtlylE= MIME-Version: 1.0 Received: by 10.229.101.197 with SMTP id d5mr1437484qco.220.1284990623321; Mon, 20 Sep 2010 06:50:23 -0700 (PDT) Received: by 10.229.215.209 with HTTP; Mon, 20 Sep 2010 06:50:23 -0700 (PDT) In-Reply-To: <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> <20100920133732.GA66641@zibbi.meraka.csir.co.za> Date: Mon, 20 Sep 2010 14:50:23 +0100 Message-ID: From: krad To: John Hay Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Boris Samorodov , freebsd-current@freebsd.org, Pawel Jakub Dawidek , Andriy Gapon , 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:50:24 -0000 On 20 September 2010 14:37, John Hay wrote: > 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 > exactly what i was thinking. Its real nice how opensolaris odes its boot environments. I have a few custom scripts to replicate that with the install world, but at yet have no easy way to flip flop the bootfs varible, other than booting in on live(cd|usb)