[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 +0000
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_at_FreeBSD.org
          Reporter: yzhong_at_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.
Received on Tue Jul 27 2021 - 19:21:24 UTC

Original text of this message