diff options
author | marcel <marcel@FreeBSD.org> | 2002-11-13 05:39:59 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2002-11-13 05:39:59 +0000 |
commit | f76e12575fa9a5cbc6ed3efd9dd9c108757bae56 (patch) | |
tree | db653a4aea5ccbee784fe449b0930df930899cd0 /usr.sbin/sysinstall/disks.c | |
parent | c02d224c79a209121012072dc916c2d61ce8c1e5 (diff) | |
download | FreeBSD-src-f76e12575fa9a5cbc6ed3efd9dd9c108757bae56.zip FreeBSD-src-f76e12575fa9a5cbc6ed3efd9dd9c108757bae56.tar.gz |
Also test for type efi everywhere we currently test for type fat.
With this change there's no a priori difference between EFI and
FAT partitions. With this change and the corresponding change to
libdisk, we can create EFI partitions, just like regular FAT
partitions.
Diffstat (limited to 'usr.sbin/sysinstall/disks.c')
-rw-r--r-- | usr.sbin/sysinstall/disks.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/disks.c b/usr.sbin/sysinstall/disks.c index 4122b70..c97e155 100644 --- a/usr.sbin/sysinstall/disks.c +++ b/usr.sbin/sysinstall/disks.c @@ -508,6 +508,8 @@ diskPartition(Device *dev) partitiontype = freebsd; else if (subtype == SUBTYPE_FAT) partitiontype = fat; + else if (subtype == SUBTYPE_EFI) + partitiontype = efi; else partitiontype = unknown; chunk_info[current_chunk]->type = partitiontype; |