Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 2020 21:38:29 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Brandon Bergren <bdragon@FreeBSD.org>, Kyle Evans <kevans@FreeBSD.org>
Cc:        Cy Schubert <Cy.Schubert@cschubert.com>, Cy Schubert <cy@FreeBSD.org>, src-committers <src-committers@FreeBSD.org>, svn-src-all <svn-src-all@FreeBSD.org>, svn-src-head <svn-src-head@FreeBSD.org>
Subject:   Re: svn commit: r364817 - head/libexec/rc/rc.d
Message-ID:  <c8c2eda5-bd77-7754-ad83-98c40840b584@FreeBSD.org>
In-Reply-To: <c67509ce-ccd6-4f19-8c04-7c919d3c09b2@www.fastmail.com>
References:  <202008261313.07QDDwRm040119@repo.freebsd.org> <7e55d429-482b-2277-b340-2b85c687440e@FreeBSD.org> <202008271350.07RDoGqn055838@slippy.cwsent.com> <202008271354.07RDsTeW084744@slippy.cwsent.com> <202008271403.07RE3U56090900@slippy.cwsent.com> <CACNAnaGNJBcBp4tpUL5EK772BwAC02R_dQCMcohqHnzQ50aboA@mail.gmail.com> <CACNAnaFbFd%2BsRigaO5W88LFYXDKgsJC%2BU5rYXZFMqUgMiad4TQ@mail.gmail.com> <5e96ff14-1d81-c42f-21f6-1ae55aa9ce76@FreeBSD.org> <CACNAnaHw-QM_nFZ%2BjhLwjdUEg9WceybhhcBep6oiiNv-EBH6cQ@mail.gmail.com> <c67509ce-ccd6-4f19-8c04-7c919d3c09b2@www.fastmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 27/08/2020 19:51, Brandon Bergren wrote:
> FWIW, on powerpc64, using /etc/zfs/zpool.cache is great because it avoids the problem of having to unmount /boot (which is an msdos filesystem because peitiboot doesn't understand ufs or zfs) to update the copy of zpool.cache that is on the root filesystem in /boot instead of only changing the one in the runtime /boot (which was mounted on top, and is never useful because it's not mounted at the time that zpool.cache is actually needed to import pools.)
> 
> In any case, the correct way on ZFS to control where the cachefile is written is to set the cachefile property on the zpool to the specific path. The correct behavior regarding boot time auto import of pools is to honor that property as found on the pool the boot filesystem was on, so that other pools sharing the same cachefile path will be imported. Multiple cache files and pools not actually listed in a cachefile are valid scenarios for pools.


Just want to express my complete agreement.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c8c2eda5-bd77-7754-ad83-98c40840b584>