From 4f72649f48dfbdda3ccc5c2e11c9eacac2a63dc6 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Mon, 2 Aug 2004 18:46:52 +0000 Subject: [PATCH] Remove GPT_ENT_TYPE_FREEBSD_UFS2. It was speculatively added before UFS2 was here. It so happened that UFS2 did not need a seperate partition type. Keep the definition as a comment for documentation purposes. If there is a benefit for UFS2 file systems to have a seperate partition type under GPT, then this definition should be restored as that was the intention of the definition. --- sys/sys/gpt.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sys/sys/gpt.h b/sys/sys/gpt.h index b5f9a4038fc..b437607d885 100644 --- a/sys/sys/gpt.h +++ b/sys/sys/gpt.h @@ -80,11 +80,16 @@ struct gpt_ent { {0x516e7cb5,0x6ecf,0x11d6,0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}} #define GPT_ENT_TYPE_FREEBSD_UFS \ {0x516e7cb6,0x6ecf,0x11d6,0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}} -#define GPT_ENT_TYPE_FREEBSD_UFS2 \ - {0x516e7cb7,0x6ecf,0x11d6,0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}} #define GPT_ENT_TYPE_FREEBSD_VINUM \ {0x516e7cb8,0x6ecf,0x11d6,0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}} +/* + * The following are unused but documented here to avoid reuse. + * + * GPT_ENT_TYPE_FREEBSD_UFS2 \ + * {0x516e7cb7,0x6ecf,0x11d6,0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}} + */ + /* * Foreign partition types that we're likely to encounter. Note that Linux * apparently choose to share data partitions with MS. I don't what the