summary refs log tree commit diff
path: root/Documentation/development/uuid-reference.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/development/uuid-reference.adoc')
-rw-r--r--Documentation/development/uuid-reference.adoc60
1 files changed, 60 insertions, 0 deletions
diff --git a/Documentation/development/uuid-reference.adoc b/Documentation/development/uuid-reference.adoc
new file mode 100644
index 0000000..81300ee
--- /dev/null
+++ b/Documentation/development/uuid-reference.adoc
@@ -0,0 +1,60 @@
+= UUID Reference
+:page-parent: Development
+:page-nav_order: 6
+
+// SPDX-FileCopyrightText: 2022 Alyssa Ross <hi@alyssa.is>
+// SPDX-License-Identifier: GFDL-1.3-no-invariants-or-later OR CC-BY-SA-4.0
+
+https://en.wikipedia.org/wiki/Universally_unique_identifier[UUIDs] are
+used extensively throughout Spectrum.  When encountering a UUID in the
+codebase, it can be difficult to understand what exactly the UUID
+means, and where it originates from -- is it from some standard, or
+Spectrum-specific?
+
+To solve this problem, this reference documents all of the UUIDs used
+in Spectrum.
+
+== https://en.wikipedia.org/wiki/GUID_Partition_Table[GPT] Partition Types
+
+=== `c12a7328-f81f-11d2-ba4b-00a0c93ec93b`
+
+"EFI System Partition", from the https://uefi.org/specifications[UEFI
+Specification].
+
+=== `4f68bce3-e8cd-4db1-96e7-fbcaf984b709`
+
+"Root Partition (amd64/x86_64)" from the
+https://uapi-group.org/specifications/specs/discoverable_partitions_specification/[Discoverable Partitions
+Specification].
+
+=== `2c7357ed-ebd2-46d9-aec1-23d437ec2bf5`
+
+"Root Verity Partition (amd64/x86_64)" from the
+https://uapi-group.org/specifications/specs/discoverable_partitions_specification/[Discoverable Partitions
+Specification].
+
+=== `9293e1ff-cee4-4658-88be-898ec863944f`
+
+xref:user-partition.adoc[Spectrum user partition].
+
+=== `56a3bbc3-aefa-43d9-a64d-7b3fd59bbc4e`
+
+https://github.com/endlessm/eos-installer["eosimages"] partition on the
+Spectrum combined live system / installer image.
+
+== Combined Image Partition IDs
+
+These UUIDs are used as the unique partition identifiers for the
+Spectrum combined live system / installer image.
+
+=== `6e23b026-9f1e-479d-8a58-a0cda382e1ce`
+
+The Spectrum installer system.
+
+'''
+
+== Finding Undocumented UUIDs
+
+Running the Documentation/scripts/undocumented-uuids.sh script from
+the root of the Spectrum repository will scan the entire tree for
+UUIDs not mentioned in this document.