aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-05-08 20:02:39 +0000
committerWarner Losh <imp@FreeBSD.org>2018-05-08 20:02:39 +0000
commit39c0a13bc76a9918d0d9bfcae807e6e0f4609758 (patch)
tree3d0ba7dde85e03cb5406dcd1c9cde7996c4a25d9 /usr.sbin
parent51922c697be9ecd5e5674c60effc76750eaec250 (diff)
downloadsrc-39c0a13bc76a9918d0d9bfcae807e6e0f4609758.tar.gz
src-39c0a13bc76a9918d0d9bfcae807e6e0f4609758.zip
efibootmgr.8: fix example
The example given was for the old, and now deleted, Linux compatibility mode. Update the example for the current code. Submitted by: Vlad Movchan
Notes
Notes: svn path=/head/; revision=333384
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/efibootmgr/efibootmgr.88
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/efibootmgr/efibootmgr.8 b/usr.sbin/efibootmgr/efibootmgr.8
index 7d23365cf568..7d0b3fde1f0c 100644
--- a/usr.sbin/efibootmgr/efibootmgr.8
+++ b/usr.sbin/efibootmgr/efibootmgr.8
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 8, 2017
+.Dd May 8, 2018
.Dt EFIBOOTMGR 8
.Os
.Sh NAME
@@ -111,10 +111,10 @@ variable.
The
.Nm
program can be used to create new EFI boot variables. To create a new
-boot var pointing to an installation on partition 1 of device ada0 using
-the given loader with a description FreeBSD-11:
+boot var pointing to an installation with its EFI partition mounted
+under /mnt, the given loader and a label "FreeBSD-11":
.Pp
-.Dl efibootmgr -c -d ada0 -p 1 -l/EFI/BOOT/BOOTX64.EFI -L FreeBSD-11
+.Dl efibootmgr -c -l /mnt/EFI/BOOT/BOOTX64.EFI -L FreeBSD-11
.Pp
This will result in the next available BootVarNum being assigned to a
new UEFI load variable, and given the label "FreeBSD-11" such as: