Date: Thu, 27 Aug 2020 11:45:41 -0700 From: Cy Schubert <Cy.Schubert@cschubert.com> To: Andriy Gapon <avg@FreeBSD.org> Cc: Brandon Bergren <bdragon@FreeBSD.org>, Kyle Evans <kevans@FreeBSD.org>, 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: <202008271845.07RIjfK6011041@slippy.cwsent.com> In-Reply-To: <c8c2eda5-bd77-7754-ad83-98c40840b584@FreeBSD.org> 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> <c8c2eda5-bd77-7754-ad83-98c40840b584@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <c8c2eda5-bd77-7754-ad83-98c40840b584@FreeBSD.org>, Andriy Gapon wri tes: > On 27/08/2020 19:51, Brandon Bergren wrote: > > FWIW, on powerpc64, using /etc/zfs/zpool.cache is great because it avoids t > he problem of having to unmount /boot (which is an msdos filesystem because p > eitiboot doesn't understand ufs or zfs) to update the copy of zpool.cache tha > t 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 writt > en is to set the cachefile property on the zpool to the specific path. The co > rrect behavior regarding boot time auto import of pools is to honor that prop > erty as found on the pool the boot filesystem was on, so that other pools sha > ring 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. Agreed with the above, however: I still think that using a zpool import in rc.d is a regression. I understand why the OpenZFS folks did what they did. Linux with it's filesystem agnostic grub and initramfs monstrosity requires that they externalize this. I'm not happy about the regression but understand why they did it. -- Cheers, Cy Schubert <Cy.Schubert@cschubert.com> FreeBSD UNIX: <cy@FreeBSD.org> Web: https://FreeBSD.org NTP: <cy@nwtime.org> Web: https://nwtime.org The need of the many outweighs the greed of the few.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008271845.07RIjfK6011041>