[Bug 295812] stand: stand/efi/loader/main.c: allow backup loader.env to be used

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 03 Jun 2026 09:47:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295812

            Bug ID: 295812
           Summary: stand: stand/efi/loader/main.c: allow backup
                    loader.env to be used
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: bugs-freebsd-org916@ketas.si.pri.ee
                CC: imp@FreeBSD.org

i don't know if and how to do this, or if it would be generally useful, but i
looked into loader and implemented a multiple loader.env support

focus is on embedded and / or unattended and / or power failure prone platforms
which could switch between primary / secondary rootfs using that file

i'm up to better solutions too, via uboot, via geom labeling

maybe cc'd imp will have more ideas how this could be (bsd-)imp-lemented (what
a pun!)

i also heard vague ideas to improve (imp-rove (?)) boot/loader in that area

miniature diff attached to make it clear

-- 
You are receiving this mail because:
You are the assignee for the bug.