summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/install.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2002-11-13 05:39:59 +0000
committermarcel <marcel@FreeBSD.org>2002-11-13 05:39:59 +0000
commitf76e12575fa9a5cbc6ed3efd9dd9c108757bae56 (patch)
treedb653a4aea5ccbee784fe449b0930df930899cd0 /usr.sbin/sade/install.c
parentc02d224c79a209121012072dc916c2d61ce8c1e5 (diff)
downloadFreeBSD-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/sade/install.c')
-rw-r--r--usr.sbin/sade/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c
index 52fe118..52cc632 100644
--- a/usr.sbin/sade/install.c
+++ b/usr.sbin/sade/install.c
@@ -1038,7 +1038,7 @@ installFilesystems(dialogMenuItem *self)
}
}
}
- else if (c1->type == fat && c1->private_data && (root->newfs || upgrade)) {
+ else if ((c1->type == fat || c1->type == efi) && c1->private_data && (root->newfs || upgrade)) {
char name[FILENAME_MAX];
sprintf(name, "%s/%s", RunningAsInit ? "/mnt" : "", ((PartInfo *)c1->private_data)->mountpoint);
OpenPOWER on IntegriCloud