Avoid forcible mounting a dirty filessystem. Mount such filesystems
authorkettenis <kettenis@openbsd.org>
Wed, 18 Oct 2023 22:44:42 +0000 (22:44 +0000)
committerkettenis <kettenis@openbsd.org>
Wed, 18 Oct 2023 22:44:42 +0000 (22:44 +0000)
commit1a98aacbe5b16fbc9d44ae470c7928a7f5277549
tree6729616fa485577dae901c351e1e2d457fb976b8
parentee130188927d18f71836d6126268fcc0b02b5e0a
Avoid forcible mounting a dirty filessystem.  Mount such filesystems
read-only instead.  This means that writing to the filesystem will fail.
As a consequence chmod'ing of files in the bootloader will fail, but that
will fix itself on the next clean boot.

ok kn@
sys/arch/powerpc64/stand/rdboot/disk.c