At Mon, 5 Apr 2021 07:04:32 -0000 (UTC), mlel...@serpens.de (Michael van Elst) 
wrote:
Subject: Re: how do I mount a read-only filesystem from the "root device" 
prompt?
>
> Someone would need to write code to "upgrade" vnodes. I doubt that's
> trivial.

Indeed -- I've underestimated the complexity of such low-level changes
in the past -- they can snowball out of control!

> Fortunately it is not necessary. If the parent device is read-only,
> no "upgrade" will help to make it read-write. So you open read-write
> or fail back to read-only when necessary. An attempt to open a wedge
> read-write on a read-only opened parent device then has to fail.

Yes, this makes sense.

> I'm testing a patch for that...

Excellent!  Thank you very much!

--
                                        Greg A. Woods <gwo...@acm.org>

Kelowna, BC     +1 250 762-7675           RoboHack <wo...@robohack.ca>
Planix, Inc. <wo...@planix.com>     Avoncote Farms <wo...@avoncote.ca>

Attachment: pgpXg3AxNRSEV.pgp
Description: OpenPGP Digital Signature

Reply via email to