From owner-freebsd-fs@FreeBSD.ORG Sun Nov 18 19:43:46 2012 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C5DD43A7 for ; Sun, 18 Nov 2012 19:43:46 +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 07E7D8FC08 for ; Sun, 18 Nov 2012 19:43:45 +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 VAA05588; Sun, 18 Nov 2012 21:43:43 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1TaAmN-0009Id-Cc; Sun, 18 Nov 2012 21:43:43 +0200 Message-ID: <50A93A6E.1090907@FreeBSD.org> Date: Sun, 18 Nov 2012 21:43:42 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121030 Thunderbird/16.0.2 MIME-Version: 1.0 To: Aldis Berjoza Subject: Re: Why do we need vfs.root.mountfrom for zfs References: <848051353247434@web29h.yandex.ru> <50A934D2.9010205@FreeBSD.org> <1026501353267511@web27h.yandex.ru> In-Reply-To: <1026501353267511@web27h.yandex.ru> X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=KOI8-R 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: Sun, 18 Nov 2012 19:43:46 -0000 on 18/11/2012 21:38 Aldis Berjoza said the following: > > 18.11.2012, 21:19, "Andriy Gapon" : >> on 18/11/2012 16:03 Aldis Berjoza said the following: >> >>> I was wondering why oh, why do we need to set >>> vfs.root.mountfrom in /boot/loader.conf in order to boot from zfs. >> >> Who is 'we'? And why do you think 'we' have to do that? :-) >> >>> zpools have bootfs option. >>> >>> This info is redundant. >>> I think one of two could be totally avoided at least in case when we boot form gptzfsboot. >>> >>> What I'm missing? >> >> You don't miss anything. The defaults work fine. You don't have to set >> vfs.root.mountfrom unless you want it to point to some non-default fs. >> >> More details: >> http://ru.kyivbsd.org.ua/arhiv/2012/kyivbsd12-gapon-zfs.pdf?attredirects=0&d=1 >> Page 17 and one. the above should have been "and on". > > Thank you, thank you so very much. > I never knew vfs.root.mountfrom was optional. All the turorials I've been reading said to set it. Well, it used to be true that either an fstab "/" entry or vfs.root.mountfrom had to be configured. But now that's optional. -- Andriy Gapon