efibootmgr: Use the hier(7) ESP mount point in examples

MFC after:	1 week
This commit is contained in:
Mateusz Piotrowski 2022-04-03 14:05:30 +02:00
parent 9f690fcfdc
commit 5fce57dd12

View File

@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd August 25, 2020
.Dd April 3, 2022
.Dt EFIBOOTMGR 8
.Os
.Sh NAME
@ -206,12 +206,12 @@ The
program can be used to create new EFI boot variables.
The following command may be used to create a new boot method, using
the EFI partition mounted under
.Pa /mnt ,
.Pa /boot/efi ,
mark the method active, using
the given loader and label the method
.Qq FreeBSD-11 :
.Pp
.Dl efibootmgr -a -c -l /mnt/EFI/freebsd/loader.efi -L FreeBSD-11
.Dl efibootmgr -a -c -l /boot/efi/EFI/freebsd/loader.efi -L FreeBSD-11
.Pp
This will result in the next available bootnum being assigned to a
new UEFI boot variable, and given the label