From owner-freebsd-current@FreeBSD.ORG Tue Oct 13 10:46:40 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC8EE106568F; Tue, 13 Oct 2009 10:46:40 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id C61008FC12; Tue, 13 Oct 2009 10:46:39 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id NAA07724; Tue, 13 Oct 2009 13:46:38 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4AD45A8D.4070605@icyb.net.ua> Date: Tue, 13 Oct 2009 13:46:37 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20090825) MIME-Version: 1.0 To: freebsd-fs@FreeBSD.ORG, freebsd-current@FreeBSD.ORG References: <4AD3220B.5030502@icyb.net.ua> <86ws30ikfw.fsf@gmail.com> In-Reply-To: <86ws30ikfw.fsf@gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Anonymous Subject: Re: zfs boot vs loader X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2009 10:46:40 -0000 Thanks to all who replied! I think that I figured it out with your help. 'unload' does indeed unload zpool.cache and the latter is needed for proper zfs root mounting. 'boot /other/kernel' executes some loader scripts and zpool.cache gets loaded in this case (because of the settings in defaults/loader.conf). When doing manual 'load xxx' and then just 'boot' no loader scripts are executed and zpool.cache does not get loaded. In this case one has to load it manually using the suggested 'load -t xxx' approach. -- Andriy Gapon