diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2002-12-04 15:07:05 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2002-12-04 15:07:05 +0000 |
| commit | 443ec1fa062e7d06ccb631b956a8bb70747ec89f (patch) | |
| tree | ef2eb08f271a846dcae02ffe8a3fa488d1f82dd0 /usr.sbin/sysinstall | |
| parent | df44e708b1bc095a0364626fe568aa1c63977214 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/sysinstall')
| -rw-r--r-- | usr.sbin/sysinstall/disks.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/disks.c b/usr.sbin/sysinstall/disks.c index c240a0970a1f..ec8b49bc743a 100644 --- a/usr.sbin/sysinstall/disks.c +++ b/usr.sbin/sysinstall/disks.c @@ -450,7 +450,11 @@ diskPartition(Device *dev) else if (subtype == SUBTYPE_EFI) partitiontype = efi; else +#ifdef PC98 + partitiontype = pc98; +#else partitiontype = mbr; +#endif 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 +513,11 @@ diskPartition(Device *dev) else if (subtype == SUBTYPE_EFI) partitiontype = efi; else +#ifdef PC98 + partitiontype = pc98; +#else partitiontype = mbr; +#endif chunk_info[current_chunk]->type = partitiontype; chunk_info[current_chunk]->subtype = subtype; } |
