From dc36dd663b86805c220d9c076a232a002f6f9198 Mon Sep 17 00:00:00 2001
From: Chloe Kudryavtsev <toast@toastin.space>
Date: Tue, 19 Feb 2019 21:10:50 -0500
Subject: [Installing] Fix extra 2 -> 3 in parted examples

Also, avoid repetition by defining a variable and reusing it.
---
 modules/Installing/pages/manual.adoc | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'modules/Installing/pages/manual.adoc')

diff --git a/modules/Installing/pages/manual.adoc b/modules/Installing/pages/manual.adoc
index 55c3cdb..1a4fa86 100644
--- a/modules/Installing/pages/manual.adoc
+++ b/modules/Installing/pages/manual.adoc
@@ -321,6 +321,8 @@ In the scenario where the bootloader installation causes problems, see the secti
 
 === Parted
 
+:ex_3_sda3: Notice how the `3` in `/dev/sda3` comes from the fact that this is the 3rd partition we created (it also has the 3 in the number in the above planning table).
+
 Parted is GNU's PARTition EDitor.
 It is a very useful tool that's capable of performing partition editing of various sorts - including the ones we're interested in, both programmatically and interactively.
 Because of this, that is the utility we will be using in this section.
@@ -397,7 +399,7 @@ mkswap /dev/sda2
 mkfs.ext4 /dev/sda3 <2>
 ----
 <1> This last section creates the filesystems. In this example, we use ext4 for `/boot` and `/` - you can use any of the supported filesystems.
-<2> Notice how the `3` in `/dev/sda3` comes from the fact that this is the 2nd partition we created (it also has the 3 in the number in the above planning table).
+<2> {ex_3_sda3}
 
 ==== BIOS + GPT
 
@@ -430,7 +432,7 @@ mkswap /dev/sda3 <2>
 mkfs.ext4 /dev/sda4
 ----
 <1> This last section creates the filesystems. In this example, we use ext4 for `/boot` and `/` - you can use any of the supported filesystems.
-<2> Notice how the `3` in `/dev/sda3` comes from the fact that this is the 2nd partition we created (it also has the 3 in the number in the above planning table).
+<2> {ex_3_sda3}
 
 ==== UEFI + GPT
 
@@ -461,7 +463,7 @@ mkswap /dev/sda2
 mkfs.ext4 /dev/sda3 <2>
 ----
 <1> This last section creates the filesystems. In this example, we use ext4 for `/boot` and `/` - you can use any of the supported filesystems.
-<2> Notice how the `3` in `/dev/sda3` comes from the fact that this is the 2nd partition we created (it also has the 3 in the number in the above planning table).
+<2> {ex_3_sda3}
 
 === Finalizing
 // MAINT: setup-disk
-- 
cgit v1.2.3

