CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2023/04/25 08:00:35

Modified files:
        sys/arch/sparc64/stand/ofwboot: ofdev.c vers.c 

Log message:
Do not attempt to write to read-only softraid

Bootloaders have no write support for softraid volumes, which manifests in,
e.g. /bsd.upgrade not being stripped of its 'x' permission bit to prevent
sysupgrade loops in case of upgrade failure.

Set a no-write flag handled by libsa to bail out early in write calls.
There should be no real behaviour change, writes just fail earlier now.

sparc64 ofwboot.  Crank minor.
Tested on T4-2 guest domain with root on softraid.

Reply via email to