summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zeuthen <zeuthen@gmail.com>2014-03-11 20:39:00 -0700
committerDavid Zeuthen <zeuthen@gmail.com>2014-03-11 20:39:00 -0700
commit568c1113a18fd223ea06f5e3b24080549becb22f (patch)
treef4a136c278c451c1a42183e8abe6730d99d11c31
parentc4e5450cf2df0c6086a24b8ff1f62da61b0c7107 (diff)
Add GPT partition types from the Discoverable Partitions Specification
See http://www.freedesktop.org/wiki/Specifications/DiscoverablePartitionsSpec/ Signed-off-by: David Zeuthen <zeuthen@gmail.com>
-rw-r--r--udisks/udisksclient.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/udisks/udisksclient.c b/udisks/udisksclient.c
index b571360..5599208 100644
--- a/udisks/udisksclient.c
+++ b/udisks/udisksclient.c
@@ -2211,6 +2211,14 @@ static const struct
{"gpt", "generic", "c12a7328-f81f-11d2-ba4b-00a0c93ec93b", NC_("part-type", "EFI System"), F_SYSTEM},
{"gpt", "generic", "21686148-6449-6e6f-744e-656564454649", NC_("part-type", "BIOS Boot"), F_SYSTEM},
{"gpt", "generic", "6a898cc3-1dd2-11b2-99a6-080020736631", NC_("part-type", "ZFS"), 0}, /* see also Apple, Sol. */
+ /* Extended Boot Partition, see http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/ */
+ {"gpt", "generic", "bc13c2ff-59e6-4262-a352-b275fd6f7172", NC_("part-type", "Extended Boot Partition"), 0},
+ /* Discoverable Partitions, see http://www.freedesktop.org/wiki/Specifications/DiscoverablePartitionsSpec */
+ {"gpt", "generic", "44479540-f297-41b2-9af7-d131d5f0458a", NC_("part-type", "Auto-mounted Root Partition (x86)"), 0},
+ {"gpt", "generic", "4f68bce3-e8cd-4db1-96e7-fbcaf984b709", NC_("part-type", "Auto-mounted Root Partition (x86_64)"), 0},
+ {"gpt", "generic", "933ac7e1-2eb4-4f13-b844-0e14e2aef915", NC_("part-type", "Auto-mounted /home Partition"), 0},
+ {"gpt", "generic", "3b8f8425-20e0-4f3b-907f-1a25a76f98e8", NC_("part-type", "Auto-mounted /srv Partition"), 0},
+ {"gpt", "generic", "0657fd6d-a4ab-43c4-84e5-0933c84b4f4f", NC_("part-type", "Auto-enabled Swap"), 0},
/* Linux */
{"gpt", "linux", "0fc63daf-8483-4772-8e79-3d69d8477de4", NC_("part-type", "Linux Filesystem"), 0},
{"gpt", "linux", "a19d880f-05fc-4d3b-a006-743f0f84911e", NC_("part-type", "Linux RAID"), F_RAID},