$ sudo efibootmgr -u /boot/efi/EFI/BOOT/memtest64.efi efibootmgr: invalid option -- u But according to man page, there is such one: -u --efidev unix-path Displays the UEFI device path of unix-path.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=65904399db9167b0970e42e14642e1d6bdbf6d3a commit 65904399db9167b0970e42e14642e1d6bdbf6d3a Author: Mark Peek <mp@FreeBSD.org> AuthorDate: 2024-03-24 19:37:12 +0000 Commit: Mark Peek <mp@FreeBSD.org> CommitDate: 2024-03-24 19:37:12 +0000 efibootmgr: allow -u as a valid option PR: 277907 Reported by: vsasjason@gmail.com MFC after: 1 week usr.sbin/efibootmgr/efibootmgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=811bd332abddf44a2f410fd04a6a61849d1b736a commit 811bd332abddf44a2f410fd04a6a61849d1b736a Author: Mark Peek <mp@FreeBSD.org> AuthorDate: 2024-03-24 19:37:12 +0000 Commit: Mark Peek <mp@FreeBSD.org> CommitDate: 2024-03-31 16:58:45 +0000 efibootmgr: allow -u as a valid option PR: 277907 Reported by: vsasjason@gmail.com MFC after: 1 week (cherry picked from commit 65904399db9167b0970e42e14642e1d6bdbf6d3a) usr.sbin/efibootmgr/efibootmgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=14b2221ae7cee33b5b75d662da6a396ca5c46f95 commit 14b2221ae7cee33b5b75d662da6a396ca5c46f95 Author: Mark Peek <mp@FreeBSD.org> AuthorDate: 2024-03-24 19:37:12 +0000 Commit: Mark Peek <mp@FreeBSD.org> CommitDate: 2024-03-31 16:57:17 +0000 efibootmgr: allow -u as a valid option PR: 277907 Reported by: vsasjason@gmail.com MFC after: 1 week (cherry picked from commit 65904399db9167b0970e42e14642e1d6bdbf6d3a) usr.sbin/efibootmgr/efibootmgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
(In reply to commit-hook from comment #3) Guessing it's not significant enough for a patch release? I can pull this patch manually and test on releng/
(In reply to Anton Saietskii from comment #4) The use of the long form "efibootmgr --efidev unixpath" can be used until this becomes available in a release build.