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