diff options
author | jhb <jhb@FreeBSD.org> | 2002-12-03 16:09:55 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-12-03 16:09:55 +0000 |
commit | ffe0d359952e4d4934c0ae528d3d8bb0acf6ce84 (patch) | |
tree | 681ea7729d482c816f10439d41499e5ab89b8d95 /usr.sbin/sysinstall/disks.c | |
parent | 81fe1696308c5629262bfd7c5ed69a6d7c0343d8 (diff) | |
download | FreeBSD-src-ffe0d359952e4d4934c0ae528d3d8bb0acf6ce84.zip FreeBSD-src-ffe0d359952e4d4934c0ae528d3d8bb0acf6ce84.tar.gz |
Fix a bug in the fdisk editor that partially masked the chunk deletion
bug fixed yesterday. New slices created in the fdisk editor and slices
whose sub-type is changed are of type 'mbr' if their sub-type is not a
magic type, not type 'unknown'.
Approved by: re
Diffstat (limited to 'usr.sbin/sysinstall/disks.c')
-rw-r--r-- | usr.sbin/sysinstall/disks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/disks.c b/usr.sbin/sysinstall/disks.c index bc6c224..c240a09 100644 --- a/usr.sbin/sysinstall/disks.c +++ b/usr.sbin/sysinstall/disks.c @@ -450,7 +450,7 @@ diskPartition(Device *dev) else if (subtype == SUBTYPE_EFI) partitiontype = efi; else - partitiontype = unknown; + partitiontype = mbr; Create_Chunk(d, chunk_info[current_chunk]->offset, size, partitiontype, subtype, (chunk_info[current_chunk]->flags & CHUNK_ALIGN), name); variable_set2(DISK_PARTITIONED, "yes", 0); @@ -509,7 +509,7 @@ diskPartition(Device *dev) else if (subtype == SUBTYPE_EFI) partitiontype = efi; else - partitiontype = unknown; + partitiontype = mbr; chunk_info[current_chunk]->type = partitiontype; chunk_info[current_chunk]->subtype = subtype; } |