]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Update docs about fdisk/gdisk support for discoverable partitions
authorwouter bolsterlee <wouter@bolsterl.ee>
Sun, 21 Feb 2021 17:00:55 +0000 (18:00 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sun, 21 Feb 2021 19:40:14 +0000 (19:40 +0000)
This updates the docs about using fdisk/gdisk to make partitions with the right
partition type UUID as defined in the discoverable partitions spec.

Improve wording/grammar/formatting, and reflect that gdisk supports this as
well nowadays; see https://www.rodsbooks.com/gdisk/revisions.html

docs/DISCOVERABLE_PARTITIONS.md

index 5c9a8dd9bda0cad6857989b15d3a7f2e8dc724da..2bdf201df3495bc1c859bf8a9aa8871d64299e01 100644 (file)
@@ -225,10 +225,12 @@ appliance-like installations.
 
 ### What partitioning tools will create a DPS-compliant partition table?
 
-As of util-linux 2.25.2, the fdisk tool provides type codes to create the root,
-home, and swap partitions that the DPS expects, but the gdisk tool (version
-0.8.10) and its variants do not support creation of a root file system with a
-matching type code.  By default, fdisk will create an old-style MBR, not a GPT,
-so typing 'l' to list partition types will not show the choices that the root
-partition with the correct UUID.  You must first create an empty GPT and then
-type 'l' in order for the DPS-compliant type codes to be available.
+As of util-linux 2.25.2, the `fdisk` tool provides type codes to create the
+root, home, and swap partitions that the DPS expects, By default, `fdisk` will
+create an old-style MBR, not a GPT, so typing `l` to list partition types will
+not show the choices to let you set the correct UUID. Make sure to first create
+an empty GPT, then type `l` in order for the DPS-compliant type codes to be
+available.
+
+The `gdisk` tool (from version 1.0.5 onward) and its variants (`sgdisk`,
+`cgdisk`) also support creation of partitions with a matching type code.