[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

            Bug ID: 257458
           Summary: efibootmgr(8) does not respect --dry-run for most
           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.