From owner-freebsd-fs@FreeBSD.ORG Thu Jul 4 18:18:45 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 629B486C; Thu, 4 Jul 2013 18:18:45 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id E43351784; Thu, 4 Jul 2013 18:18:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.5/8.14.5) with ESMTP id r64IIhL2060729; Thu, 4 Jul 2013 22:18:43 +0400 (MSK) (envelope-from marck@rinet.ru) Date: Thu, 4 Jul 2013 22:18:43 +0400 (MSK) From: Dmitry Morozovsky To: Andriy Gapon Subject: Re: boot from ZFS: which pool types use? In-Reply-To: Message-ID: References: <51D56066.1020902@FreeBSD.org> <51D577A9.1030304@gmail.com> <51D59AAD.3030208@FreeBSD.org> <51D5A20F.4070103@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (woozle.rinet.ru [0.0.0.0]); Thu, 04 Jul 2013 22:18:43 +0400 (MSK) Cc: freebsd-fs@freebsd.org, Volodymyr Kostyrko 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 18:18:45 -0000 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... 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... And, not, unfortunately, I have no patches to apply.... -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------