Blame SOURCES/0028-More-edits-for-grubby.8-1232168.patch

24fce8
From b24cd1c5c8467ac6f7c5680db3a49ef6adc8df21 Mon Sep 17 00:00:00 2001
24fce8
From: Peter Jones <pjones@redhat.com>
24fce8
Date: Tue, 28 Jun 2016 16:50:37 -0400
24fce8
Subject: [PATCH 28/55] More edits for grubby.8 (#1232168)
24fce8
24fce8
- Don't switch between the passive and active voice between the option
24fce8
  descriptions
24fce8
- keep the same point of view between options ("[it] removes all
24fce8
  entries" vs "remove all entries")
24fce8
- line wrap everywhere except the example envocations at <80 columns,
24fce8
  not 100.
24fce8
- consistent use of i386 vs ia32
24fce8
24fce8
Signed-off-by: Peter Jones <pjones@redhat.com>
24fce8
24fce8
Related: rhbz#1232168
24fce8
---
24fce8
 grubby.8 | 88 ++++++++++++++++++++++++++++++--------------------------
24fce8
 1 file changed, 48 insertions(+), 40 deletions(-)
24fce8
24fce8
diff --git a/grubby.8 b/grubby.8
24fce8
index 64a6984fba0..690676858ca 100644
24fce8
--- a/grubby.8
24fce8
+++ b/grubby.8
24fce8
@@ -2,11 +2,12 @@
24fce8
 
24fce8
 .SH NAME
24fce8
 
24fce8
-grubby \- command line tool used to configure bootloader menu entries across multiple architectures
24fce8
+grubby \- command line tool used to configure bootloader menu entries across
24fce8
+multiple architectures
24fce8
 
24fce8
 .SH SYNOPSIS
24fce8
 
24fce8
-\fBgrubby\fR [\fIOPTIONS...\fR]
24fce8
+\fBgrubby\fR [\fIOPTIONS\fR]
24fce8
 
24fce8
 .SH DESCRIPTION
24fce8
 
24fce8
@@ -37,13 +38,13 @@ are deprecated in favor of previously mentioned bootloaders. The
24fce8
 
24fce8
 .SS Default Behavior
24fce8
 
24fce8
-The default architecture is chosen at compile time. The grubby executable
24fce8
-has a series of built in assumptions about what bootloader is being used and
24fce8
-where its configuration file lives. If no output format option is specified
24fce8
-on the command line then grubby will use these default settings to first
24fce8
-search for an existing configuration and, if it is not found, assume that
24fce8
-it should be placed in the standard location. These default assumptions are
24fce8
-listed in the table below.
24fce8
+The default bootloader target is primarily determined by the architecture
24fce8
+for which grubby has been built.  Each architecture has a preferred
24fce8
+bootloader, and each bootloader has its own configuration file.  If no
24fce8
+bootloader is selected on the command line, grubby will use these default
24fce8
+settings to search for an existing configuration.  If no bootloader
24fce8
+configuration file is found, grubby will use the default value for that
24fce8
+architecture.  These defaults are listed in the table below.
24fce8
 
24fce8
 .TS
24fce8
 allbox;
24fce8
@@ -81,19 +82,18 @@ Add a new boot entry for the kernel located at \fIkernel-path\fR. A title for
24fce8
 the boot entry must be set using \fB-\-title\fR. Most invocations should also
24fce8
 include \fB-\-initrd\fR with memtest86 as a notable exception.
24fce8
 
24fce8
-The \fB-\-update-kernel\fR
24fce8
-option may not be used in the same invocation. 
24fce8
+The \fB-\-update-kernel\fR option may not be used in the same invocation.
24fce8
 
24fce8
 .TP
24fce8
 \fB-\-remove-kernel\fR=\fIkernel-path\fR
24fce8
-Removes all boot entries which match \fIkernel-path\fR. This may be used
24fce8
-along with \fB-\-add-kernel\fR, in which case the new kernel being added will
24fce8
-never be removed.
24fce8
+Remove all boot entries which match \fIkernel-path\fR. This may be used
24fce8
+along with \fB-\-add-kernel\fR, in which case the new entry being added will
24fce8
+not be removed.
24fce8
 
24fce8
 .TP
24fce8
 \fB-\-update-kernel\fR=\fIkernel-path\fR
24fce8
-The entries for kernels matching \fRkernel-path\fR are updated. Currently
24fce8
-the only items that can be updated is the kernel argument list, which is
24fce8
+Update the entries for kernels matching \fRkernel-path\fR. Currently
24fce8
+the only item that can be updated is the kernel argument list, which is
24fce8
 modified via the \fB-\-args\fR and \fB-\-remove-args\fR options.
24fce8
 
24fce8
 .TP
24fce8
@@ -135,7 +135,7 @@ being added.
24fce8
 
24fce8
 .TP
24fce8
 \fB-\-efi\fR
24fce8
-Use linuxefi and initrdefi when constructing bootloader stanzas instead of linux and initrd.
24fce8
+Use appropriate bootloader commands for EFI on this architecture.
24fce8
 
24fce8
 .TP
24fce8
 \fB-\-set-default\fR=\fIkernel-path\fR
24fce8
@@ -188,16 +188,18 @@ Display information on all boot entries which match \fIkernel-path\fR. I
24fce8
 
24fce8
 .TP
24fce8
 \fB-\-bootloader-probe\fR
24fce8
+Attempt to probe for installed bootloaders.  If this option is specified,
24fce8
 \fBgrubby\fR tries to determine if \fBgrub\fR or \fBlilo\fR is currently
24fce8
-installed. When one of those bootloaders is found the name of that bootloader
24fce8
-is displayed on stdout.  Both could be installed (on different devices), and
24fce8
-grubby will print out the names of both bootloaders, one per line. The probe
24fce8
-for \fBgrub\fR requires a commented out boot directive \fBgrub.conf\fR
24fce8
-identical to the standard directive in the lilo configuration file. If this
24fce8
-is not present \fBgrubby\fR will assume grub is not installed (note
24fce8
-that \fBanaconda\fR places this directive in \fBgrub.conf\fR files it creates).
24fce8
+installed. When one of those bootloaders is found the name of that
24fce8
+bootloader is displayed on stdout.  Both could be installed (on different
24fce8
+devices), and grubby will print out the names of both bootloaders, one per
24fce8
+line. The probe for \fBgrub\fR requires a commented out boot directive
24fce8
+\fBgrub.conf\fR identical to the standard directive in the lilo
24fce8
+configuration file. If this is not present \fBgrubby\fR will assume grub is
24fce8
+not installed (note that \fBanaconda\fR places this directive in
24fce8
+\fBgrub.conf\fR files it creates).
24fce8
 
24fce8
-\fIThis option is only available on i386 platforms.\fR
24fce8
+\fIThis option is only available on x86 BIOS platforms.\fR
24fce8
 
24fce8
 .TP
24fce8
 \fB-v\fR, \fB-\-version\fR
24fce8
@@ -213,7 +215,8 @@ alternative bootloader.
24fce8
 
24fce8
 .TP
24fce8
 \fB-\-elilo\fR
24fce8
-Use an \fBelilo\fR style configuration file. This is the default on ia64 platforms. This format is deprecated.
24fce8
+Use an \fBelilo\fR style configuration file. This is the default on ia64
24fce8
+platforms. This format is deprecated.
24fce8
 
24fce8
 .TP
24fce8
 \fB-\-extlinux\fR
24fce8
@@ -221,13 +224,14 @@ Use an \fBextlinux\fR style configuration file. This format is deprecated.
24fce8
 
24fce8
 .TP
24fce8
 \fB-\-grub\fR
24fce8
-Use a \fBgrub\fR style configuration file. This is the default on ia32 platforms.
24fce8
+Use a \fBgrub\fR style configuration file. This is the default on the i386
24fce8
+architecture.
24fce8
 
24fce8
 .TP
24fce8
 \fB-\-grub2\fR
24fce8
-Use a \fBgrub2\fR style configuration file. This is the default on \fBx86_64\fR
24fce8
-architecture as well as the \fBppc64\fR and \fBppc64le\fR architectures
24fce8
-running on Power8 or later hardware.
24fce8
+Use a \fBgrub2\fR style configuration file. This is the default on
24fce8
+\fBx86_64\fR architecture as well as the \fBppc64\fR and \fBppc64le\fR
24fce8
+architectures running on Power8 or later hardware.
24fce8
 
24fce8
 .TP
24fce8
 \fB-\-lilo\fR
24fce8
@@ -235,7 +239,8 @@ Use a \fBlilo\fR style configuration file.
24fce8
 
24fce8
 .TP
24fce8
 \fB-\-silo\fR
24fce8
-Use a \fBsilo\fR style configuration file. This is the default on SPARC systems. This format is legacy, deprecated, and unsupported.
24fce8
+Use a \fBsilo\fR style configuration file. This is the default on SPARC
24fce8
+systems. This format is legacy, deprecated, and unsupported.
24fce8
 
24fce8
 .TP
24fce8
 \fB-\-yaboot\fR
24fce8
@@ -286,9 +291,9 @@ directive found in the template stanza.
24fce8
 
24fce8
 .TP
24fce8
 \fB-\-devtreedir\fR=\fIfile_path\fR
24fce8
-Use the specified \fIfile path\fR to load the devicetree definition. This is for
24fce8
-platforms where a flat file is used instead of firmware to instruct the kernel
24fce8
-how to communicate with devices.
24fce8
+Use the specified \fIfile path\fR to load the devicetree definition. This is
24fce8
+for platforms where a flat file is used instead of firmware to instruct the
24fce8
+kernel how to communicate with devices.
24fce8
 
24fce8
 .SS Multiboot Options
24fce8
 
24fce8
@@ -341,12 +346,13 @@ kernel_args	Set of arguments for the kernel
24fce8
 menu_index	Index number of a menu entry
24fce8
 .TE
24fce8
 
24fce8
-The examples below quote strings that may have spaces or other whitespace in them. It is also
24fce8
-perfectly valid to backslash escape these strings if that is more convenient.
24fce8
+The examples below quote strings that may have spaces or other whitespace in
24fce8
+them. It is also perfectly valid to backslash escape these strings if that
24fce8
+is more convenient.
24fce8
 
24fce8
 .PP
24fce8
-Add a new kernel entry and copy all options from the current default kernel. This is the behavior
24fce8
-that most users will want.
24fce8
+Add a new kernel entry and copy all options from the current default kernel.
24fce8
+This is the behavior that most users will want.
24fce8
 .IP
24fce8
 \fBgrubby\fR --add-kernel=\fInew_kernel\fR --title="\fIentry_title\fR" --initrd="\fInew_initrd\fR" --copy-default
24fce8
 .PP
24fce8
@@ -358,13 +364,15 @@ Remove \fBall menu entries\fR for a specified kernel.
24fce8
 .IP
24fce8
 \fBgrubby\fR --remove-kernel=\fIold_kernel\fR
24fce8
 .PP
24fce8
-Target a single menu entry to remove without targetting other entries with the same kernel.
24fce8
+Target a single menu entry to remove without targetting other entries with
24fce8
+the same kernel.
24fce8
 .IP
24fce8
 \fBgrubby\fR --info=\fIold_kernel\fR
24fce8
 
24fce8
 \fBgrubby\fR --remove-kernel=\fImenu_index\fR
24fce8
 .PP
24fce8
-Update the arguments for all entries of a specific kernel. New arguments get added while existing arguments get updated values.
24fce8
+Update the arguments for all entries of a specific kernel. New arguments get
24fce8
+added while existing arguments get updated values.
24fce8
 .IP
24fce8
 \fBgrubby\fR --update-kernel=\fIcurrent_kernel\fR --args="\fIkernel_args\fR"
24fce8
 .PP
24fce8
-- 
24fce8
2.17.1
24fce8