diff options
-rw-r--r-- | usr.sbin/sade/disks.c | 3 | ||||
-rw-r--r-- | usr.sbin/sysinstall/disks.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/usr.sbin/sade/disks.c b/usr.sbin/sade/disks.c index 14bb77d..4122b70 100644 --- a/usr.sbin/sade/disks.c +++ b/usr.sbin/sade/disks.c @@ -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__) diff --git a/usr.sbin/sysinstall/disks.c b/usr.sbin/sysinstall/disks.c index 14bb77d..4122b70 100644 --- a/usr.sbin/sysinstall/disks.c +++ b/usr.sbin/sysinstall/disks.c @@ -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__) |