Subject: Re: NetBSD-specific GPT partition types
To: Bernd Ernesti <netbsd@lists.veego.de>
From: Jeff Rizzo <riz@NetBSD.org>
List: tech-userlevel
Date: 12/28/2007 12:03:40
Bernd Ernesti wrote:
> On Wed, Dec 26, 2007 at 04:21:03PM -0800, Jeff Rizzo wrote:
>
>> Index: sys/sys/disklabel_gpt.h
>> ===================================================================
>> RCS file: /cvsroot/src/sys/sys/disklabel_gpt.h,v
>> retrieving revision 1.3
>> diff -u -r1.3 disklabel_gpt.h
>> --- sys/sys/disklabel_gpt.h 13 Aug 2006 15:31:21 -0000 1.3
>> +++ sys/sys/disklabel_gpt.h 26 Dec 2007 20:43:56 -0000
>> @@ -100,6 +100,19 @@
>> /*
>> * Partition types defined by other operating systems.
>> */
>> +#define GPT_ENT_TYPE_NETBSD_SWAP \
>> + {0x49f48d32,0xb10e,0x11dc,0xb9,0x9b,{0x00,0x19,0xd1,0x87,0x96,0x48}}
>> +#define GPT_ENT_TYPE_NETBSD_UFS \
>> + {0x49f48d5a,0xb10e,0x11dc,0xb9,0x9b,{0x00,0x19,0xd1,0x87,0x96,0x48}}
>> +#define GPT_ENT_TYPE_NETBSD_LFS \
>> + {0x49f48d82,0xb10e,0x11dc,0xb9,0x9b,{0x00,0x19,0xd1,0x87,0x96,0x48}}
>> +#define GPT_ENT_TYPE_NETBSD_RAIDFRAME \
>> + {0x49f48daa,0xb10e,0x11dc,0xb9,0x9b,{0x00,0x19,0xd1,0x87,0x96,0x48}}
>> +#define GPT_ENT_TYPE_NETBSD_CCD \
>> + {0x2db519c4,0xb10f,0x11dc,0xb9,0x9b,{0x00,0x19,0xd1,0x87,0x96,0x48}}
>> +#define GPT_ENT_TYPE_NETBSD_CGD \
>> + {0x2db519ec,0xb10f,0x11dc,0xb9,0x9b,{0x00,0x19,0xd1,0x87,0x96,0x48}}
>>
>
> Hmm, what is the magic behind these numbers?
> How did you chose them?
>
> Bernd
>
Generated using uuidgen(1).
+j