summaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2002-11-10 20:56:53 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2002-11-10 20:56:53 +0000
commit0ec091888c4bc924f18f86f8042df6a299b15b32 (patch)
treeb86880377427d84203a1783278cea72c01938262 /usr.sbin/sysinstall
parent7593e0d3c5153697c40d503f6b9f8224f12dd87e (diff)
Notes
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r--usr.sbin/sysinstall/disks.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/disks.c b/usr.sbin/sysinstall/disks.c
index 14bb77d73c9c..4122b70559dc 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__)