Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: how do I mount a read-only filesystem from the "root device" prompt?



At Mon, 5 Apr 2021 07:04:32 -0000 (UTC), mlelstv%serpens.de@localhost (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 <gwoods%acm.org@localhost>

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

Attachment: pgp6pbCBixuKj.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index