From owner-freebsd-fs@FreeBSD.ORG Thu Jul 4 19:15:05 2013 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BECD3E2A for ; Thu, 4 Jul 2013 19:15:05 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 161F11A16 for ; Thu, 4 Jul 2013 19:15:04 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id WAA15948; Thu, 04 Jul 2013 22:14:41 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1UuozI-000FDc-OK; Thu, 04 Jul 2013 22:14:40 +0300 Message-ID: <51D5C968.2000803@FreeBSD.org> Date: Thu, 04 Jul 2013 22:13:44 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130405 Thunderbird/17.0.5 MIME-Version: 1.0 To: Dmitry Morozovsky Subject: Re: boot from ZFS: which pool types use? References: <51D56066.1020902@FreeBSD.org> <51D577A9.1030304@gmail.com> <51D59AAD.3030208@FreeBSD.org> <51D5A20F.4070103@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jul 2013 19:15:05 -0000 on 04/07/2013 21:18 Dmitry Morozovsky said the following: > On Thu, 4 Jul 2013, Dmitry Morozovsky wrote: > >> Now, looking at zfsboot.c, couldn't we (for finding /boot/zfsloader suitable >> for us) loop over, say, top-level datasets in pools we have, in abcense of >> special property? As for me, this should plug the most annoying mistakes... I don't see any reason to do that. For example I have multiple root filesystems and they are second level from top. And I don't want any code to second-guess me. > And followup: > > for ufs/fdisk, one could easily drop in the boot process and switch to other > disk, slice, partitiona and even loader. Not that it's (at least easily) > achievable with zfsloader... Really? http://ru.kyivbsd.org.ua/arhiv/2012/kyivbsd12-gapon-zfs.pdf?attredirects=0&d=1 > And, not, unfortunately, I have no patches to apply.... > -- Andriy Gapon