Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jan 2019 04:57:46 +0000 (UTC)
From:      Rebecca Cran <bcran@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r342666 - head/usr.sbin/efibootmgr
Message-ID:  <201901010457.x014vkYR049314@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bcran
Date: Tue Jan  1 04:57:46 2019
New Revision: 342666
URL: https://svnweb.freebsd.org/changeset/base/342666

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

Modified:
  head/usr.sbin/efibootmgr/efibootmgr.8

Modified: head/usr.sbin/efibootmgr/efibootmgr.8
==============================================================================
--- head/usr.sbin/efibootmgr/efibootmgr.8	Tue Jan  1 00:48:25 2019	(r342665)
+++ head/usr.sbin/efibootmgr/efibootmgr.8	Tue Jan  1 04:57:46 2019	(r342666)
@@ -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 
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901010457.x014vkYR049314>