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:
parent
7593e0d3c5
commit
0ec091888c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106744
@ -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__)
|
||||
|
@ -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__)
|
||||
|
Loading…
Reference in New Issue
Block a user