Illumos 934 - FreeBSD's GPT not recognized
Reviewed by: Alexander Eremin <alexander.r.eremin@gmail.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Andrew Stormont <Andrew.Stormont@nexenta.com> Reviewed by: Richard Elling <richard.elling@richardelling.com> Approved by: Gordon Ross <gwr@nexenta.com> References: https://www.illumos.org/issues/934 https://github.com/illumos/illumos-gate/commit/e21ea67 Ported-by: ilovezfs <ilovezfs@icloud.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue #4016
This commit is contained in:
parent
b22e279797
commit
fc80384923
|
@ -20,6 +20,7 @@
|
|||
*/
|
||||
/*
|
||||
* Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright 2012 Nexenta Systems, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _SYS_EFI_PARTITION_H
|
||||
|
@ -134,6 +135,16 @@ typedef struct efi_gpe_Attrs {
|
|||
{ 0x00, 0x30, 0x65, 0x43, 0xec, 0xac } }
|
||||
#define EFI_AAPL_UFS { 0x55465300, 0x0000, 0x11aa, 0xaa, 0x11, \
|
||||
{ 0x00, 0x30, 0x65, 0x43, 0xec, 0xac } }
|
||||
#define EFI_FREEBSD_BOOT { 0x83bd6b9d, 0x7f41, 0x11dc, 0xbe, 0x0b, \
|
||||
{ 0x00, 0x15, 0x60, 0xb8, 0x4f, 0x0f } }
|
||||
#define EFI_FREEBSD_SWAP { 0x516e7cb5, 0x6ecf, 0x11d6, 0x8f, 0xf8, \
|
||||
{ 0x00, 0x02, 0x2d, 0x09, 0x71, 0x2b } }
|
||||
#define EFI_FREEBSD_UFS { 0x516e7cb6, 0x6ecf, 0x11d6, 0x8f, 0xf8, \
|
||||
{ 0x00, 0x02, 0x2d, 0x09, 0x71, 0x2b } }
|
||||
#define EFI_FREEBSD_VINUM { 0x516e7cb8, 0x6ecf, 0x11d6, 0x8f, 0xf8, \
|
||||
{ 0x00, 0x02, 0x2d, 0x09, 0x71, 0x2b } }
|
||||
#define EFI_FREEBSD_ZFS { 0x516e7cba, 0x6ecf, 0x11d6, 0x8f, 0xf8, \
|
||||
{ 0x00, 0x02, 0x2d, 0x09, 0x71, 0x2b } }
|
||||
|
||||
/* minimum # of bytes for partition table entires, per EFI spec */
|
||||
#define EFI_MIN_ARRAY_SIZE (16 * 1024)
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
|
||||
/*
|
||||
* Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright 2012 Nexenta Systems, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -69,7 +70,12 @@ static struct uuid_to_ptag {
|
|||
{ EFI_DELL_LVM },
|
||||
{ EFI_DELL_RESV },
|
||||
{ EFI_AAPL_HFS },
|
||||
{ EFI_AAPL_UFS }
|
||||
{ EFI_AAPL_UFS },
|
||||
{ EFI_FREEBSD_BOOT },
|
||||
{ EFI_FREEBSD_SWAP },
|
||||
{ EFI_FREEBSD_UFS },
|
||||
{ EFI_FREEBSD_VINUM },
|
||||
{ EFI_FREEBSD_ZFS }
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue