[Bug 257458] efibootmgr(8) does not respect --dry-run for most operations

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 27 Jul 2021 19:21:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257458

            Bug ID: 257458
           Summary: efibootmgr(8) does not respect --dry-run for most
                    operations
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: yzhong@freebsdfoundation.org

When I use efibootmgr to delete boot entries, I expect something like

efibootmgr --dry-run -B -b 0015

to display which entry it would delete, but not actually delete it. In reality,
it deletes the entry. Looking at the source, it appears that the dry-run flag
is only considered when creating new boot entries, but the man page gives no
indication of this.

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