1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

A support for creating EFI partitions. This is required on ia64,

but not made conditional upon it.
This commit is contained in:
Marcel Moolenaar 2002-11-10 20:56:53 +00:00
parent 7593e0d3c5
commit 0ec091888c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106744
2 changed files with 6 additions and 0 deletions

View File

@ -48,6 +48,7 @@ enum size_units_t { UNIT_BLOCKS, UNIT_KILO, UNIT_MEG, UNIT_SIZE };
#else
#define SUBTYPE_FREEBSD 165
#define SUBTYPE_FAT 6
#define SUBTYPE_EFI 239
#endif
/* Where we start displaying chunk information on the screen */
@ -442,6 +443,8 @@ diskPartition(Device *dev)
partitiontype = freebsd;
else if (subtype == SUBTYPE_FAT)
partitiontype = fat;
else if (subtype == SUBTYPE_EFI)
partitiontype = efi;
else
partitiontype = unknown;
#if defined(__alpha__) || defined(__sparc64__)

View File

@ -48,6 +48,7 @@ enum size_units_t { UNIT_BLOCKS, UNIT_KILO, UNIT_MEG, UNIT_SIZE };
#else
#define SUBTYPE_FREEBSD 165
#define SUBTYPE_FAT 6
#define SUBTYPE_EFI 239
#endif
/* Where we start displaying chunk information on the screen */
@ -442,6 +443,8 @@ diskPartition(Device *dev)
partitiontype = freebsd;
else if (subtype == SUBTYPE_FAT)
partitiontype = fat;
else if (subtype == SUBTYPE_EFI)
partitiontype = efi;
else
partitiontype = unknown;
#if defined(__alpha__) || defined(__sparc64__)