Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Feb 2022 13:41:10 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        freebsd-fs <fs@FreeBSD.org>, FreeBSD Current <current@FreeBSD.org>
Subject:   Re: rc.d/zpool should require (rw) root?
Message-ID:  <bed74b01-3627-28aa-054c-abed92f1cb9b@FreeBSD.org>
In-Reply-To: <2904FD1B-456C-41A0-B097-52C0EEC711E7@cs.huji.ac.il>
References:  <556a2f46-9dac-e0bc-10a7-d81bf7c99f5a@FreeBSD.org> <2904FD1B-456C-41A0-B097-52C0EEC711E7@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/02/2022 13:23, Daniel Braniss wrote:
> 
> 
>> On 4 Feb 2022, at 12:07, Andriy Gapon <avg@FreeBSD.org> wrote:
>>
>>
>> It seems that in some cases zpool import -c requires read/write access to the zpool.cache file.  So, it probably makes sense to import "other" pools (non-root) after upgrading / to rw.
>> What do you think?
>>
> 
> what if root is ro? i.e: diskless?

Then nothing changes.  rc.d/root would leave / alone.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bed74b01-3627-28aa-054c-abed92f1cb9b>