Blame SOURCES/0043-docs-Improve-partition-description-in-parted.texi.patch

0cb0b9
From 22a2fd360f5f0f8e7e522712a6187b1c6ac74ba7 Mon Sep 17 00:00:00 2001
0cb0b9
From: Gareth Randall <gareth.randall@virgin.net>
0cb0b9
Date: Fri, 30 Sep 2016 10:07:42 -0700
0cb0b9
Subject: [PATCH 43/53] docs: Improve partition description in parted.texi
0cb0b9
0cb0b9
(cherry picked from commit e27ac8ff6706f67817f68246311899bd920b9c88)
0cb0b9
---
0cb0b9
 doc/parted.texi | 36 +++++++++++++++++++++++++++++++-----
0cb0b9
 1 file changed, 31 insertions(+), 5 deletions(-)
0cb0b9
0cb0b9
diff --git a/doc/parted.texi b/doc/parted.texi
0cb0b9
index 1b9c084..414179d 100644
0cb0b9
--- a/doc/parted.texi
0cb0b9
+++ b/doc/parted.texi
0cb0b9
@@ -291,12 +291,38 @@ or you want to modify a root or boot partition, use GParted Live:
0cb0b9
 @section Introduction to Partitioning
0cb0b9
 @cindex partitioning overview
0cb0b9
 
0cb0b9
-Unfortunately, partitioning your disk is rather complicated.  This is
0cb0b9
-because there are interactions between many different systems that need
0cb0b9
-to be taken into consideration.
0cb0b9
+Partitioning is the process of dividing a storage device into local
0cb0b9
+sections, called partitions, which help organize multiple filesystems
0cb0b9
+and their associated operating systems.
0cb0b9
+
0cb0b9
+A storage device presents itself as a sequence of bytes, numbered
0cb0b9
+starting from zero and increasing until the maximum capacity of the
0cb0b9
+device is reached. Bytes are normally read and written a sector at a
0cb0b9
+time, rather than individually. Each sector contains a fixed number
0cb0b9
+of bytes, with the number determined by the device.
0cb0b9
+
0cb0b9
+@example
0cb0b9
++------------------------------------------------------------+
0cb0b9
+|            storage device with no partitions               |
0cb0b9
++------------------------------------------------------------+
0cb0b9
+0 start                                                    end
0cb0b9
+@end example
0cb0b9
+
0cb0b9
+In order to store multiple filesystems, a storage device can be divided
0cb0b9
+up in to multiple partitions. Each partition can be thought of as an
0cb0b9
+area which contains a real filesystem inside of it. To show where these
0cb0b9
+partitions are on the device a small table is written at the start,
0cb0b9
+shown as PT in the diagram below. This table is called a partition
0cb0b9
+table, or disklabel, and also stores the type of each partition and
0cb0b9
+some flags.
0cb0b9
+
0cb0b9
+@example
0cb0b9
++--+---------------+----------------+------------------------+
0cb0b9
+|PT|  Partition 1  |  Partition 2   |  Partition 3           |
0cb0b9
++--+---------------+----------------+------------------------+
0cb0b9
+0 start                                                    end
0cb0b9
+@end example
0cb0b9
 
0cb0b9
-This manual used to introduce the reader to these systems and their
0cb0b9
-working.  This content has moved to the GNU Storage Guide.
0cb0b9
 
0cb0b9
 @node Running Parted
0cb0b9
 @section Using GNU Parted
0cb0b9
-- 
0cb0b9
2.7.4
0cb0b9