diff options
author | marcel <marcel@FreeBSD.org> | 2002-11-10 20:56:53 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2002-11-10 20:56:53 +0000 |
commit | b10a024e8b51a395d3e56f63e807bc51e4e1eb61 (patch) | |
tree | b86880377427d84203a1783278cea72c01938262 /usr.sbin/sysinstall | |
parent | c0696a1676e9319ea26757b87a24a057e17c3df0 (diff) | |
download | FreeBSD-src-b10a024e8b51a395d3e56f63e807bc51e4e1eb61.zip FreeBSD-src-b10a024e8b51a395d3e56f63e807bc51e4e1eb61.tar.gz |
A support for creating EFI partitions. This is required on ia64,
but not made conditional upon it.
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r-- | usr.sbin/sysinstall/disks.c | 3 |
1 files changed, 3 insertions, 0 deletions
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__) |