Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Oct 2009 13:46:37 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        freebsd-fs@FreeBSD.ORG, freebsd-current@FreeBSD.ORG
Cc:        Anonymous <swell.k@gmail.com>
Subject:   Re: zfs boot vs loader
Message-ID:  <4AD45A8D.4070605@icyb.net.ua>
In-Reply-To: <86ws30ikfw.fsf@gmail.com>
References:  <4AD3220B.5030502@icyb.net.ua> <86ws30ikfw.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AD45A8D.4070605>