summaryrefslogtreecommitdiff
path: root/src/shared/gpt.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-05-12 10:16:36 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-05-12 10:16:36 +0900
commit6001df659464506990d98efe109288b78438d3e7 (patch)
treec2103b78ce813f6d9dbb480a9a1a645be8a606f1 /src/shared/gpt.h
parentf4767dc081a66ed50079e7e0a8829522cc57c8c6 (diff)
downloadsystemd-6001df659464506990d98efe109288b78438d3e7.tar.gz
gpt: introduce GPT_LAVEL_MAX
Diffstat (limited to 'src/shared/gpt.h')
-rw-r--r--src/shared/gpt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/gpt.h b/src/shared/gpt.h
index 6581973793..c92d9c0974 100644
--- a/src/shared/gpt.h
+++ b/src/shared/gpt.h
@@ -115,6 +115,9 @@
#define GPT_FLAG_NO_AUTO (1ULL << 63)
#define GPT_FLAG_GROWFS (1ULL << 59)
+/* maximum length of gpt label */
+#define GPT_LABEL_MAX 36
+
const char *gpt_partition_type_uuid_to_string(sd_id128_t id);
const char *gpt_partition_type_uuid_to_string_harder(
sd_id128_t id,