Update the efibootmgr(8) man page to document changes to options.

This commit is contained in:
Rebecca Cran 2019-01-01 04:57:46 +00:00
parent 6af306e6f3
commit 70de14d82f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=342666

View File

@ -31,12 +31,13 @@
.Nm efibootmgr
.Nd manipulate the EFI Boot Manager
.Sh SYNOPSIS
.Op Fl aAnNB Ar bootnum
.Op Fl aAnNB
.Op Fl b Ar bootnum
.Op Fl t Ar timeout
.Op Fl T
.Op Fl o Ar bootorder
.Op Fl v
.Op Fl c l Ar loader [ Fl k Ar kernel ] [ Fl L Ar label ] [ Fl -dry-run ] [ Fl b Ar bootnum ]
.Op Fl c l Ar loader [ Fl k Ar kernel ] [ Fl L Ar label ] [ Fl -dry-run ]
.Sh "DESCRIPTION"
.Nm
manipulates how UEFI Boot Managers boot the system.
@ -71,19 +72,19 @@ The path to and name of the loader.
.It Fl k -kernel Ar kernel
The path to and name of the kernel.
.It Fl b -bootnum Ar bootnum
When creating a new entry, use bootnum as the index.
Fail if it already exists.
When creating or modifying an entry, use bootnum as the index.
When creating a new entry, fail if it already exists.
.It Fl L -label Ar label
An optional description for the entry.
.It Fl D -dry-run
Process but do not change any variables.
.It Fl B -delete Ar bootnum
.It Fl B -delete
Delete the given bootnum boot entry.
.It Fl a -activate Ar bootnum
Activate the given bootnum boot entry.
.It Fl A -deactivate Ar bootnum
.It Fl a -activate
Activate the given bootnum boot entry, or the new entry when used with -c.
.It Fl A -deactivate
Deactivate the given bootnum boot entry.
.It Fl n -bootnext Ar bootnum
.It Fl n -bootnext
Set bootnum boot entry as the BootNext variable.
.It Fl N -delete-bootnext
Delete the BootNext optional variable.
@ -100,7 +101,7 @@ Display the device path of boot entries in the output.
.Pp
.Sh Examples
.Pp
To Display the current Boot related variables in the system:
To display the current Boot related variables in the system:
.Pp
.Dl efibootmgr [-v]
.Pp
@ -130,18 +131,18 @@ into the first position of current BootOrder variable if it exists. They
must first be set to active before being considered available to attempt booting from, else they
are ignored.
.Pp
.Dl efibootmgr -B 0009
.Dl efibootmgr -B -b 0009
.Pp
Will delete the given boot entry Boot0009
.Pp
To set a given newly created boot entry active use:
.Pp
.Dl efibootmgr -a 0009
.Dl efibootmgr -a -b 0009
.Pp
To set a given boot entry to be used as the BootNext variable, irrespective
of its active state, use:
.Pp
.Dl efibootmgr -n 0009
.Dl efibootmgr -n -b 0009
.Pp
To set the BootOrder for the next reboot use:
.Pp