summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormhorne <mhorne@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>2020-12-17 15:00:19 +0000
committermhorne <mhorne@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>2020-12-17 15:00:19 +0000
commitb6f0b18537a3f926dd47c04c89b6779611f2affe (patch)
treeca9a7028bba51ee2cfd97e7feb5ff0d36a8e7036
parent95c3d6d2a59c026389a9224351aa6b8952dc0b05 (diff)
downloadfreebsd-b6f0b18537a3f926dd47c04c89b6779611f2affe.tar.gz
freebsd-b6f0b18537a3f926dd47c04c89b6779611f2affe.tar.bz2
bsdinstall: remove VTOC8 partition scheme option
Now that sparc64 has been removed, there are no kernels built with support for the VTOC8 partitioning scheme by default. Remove the option from the installer, as it is unsupported on all installer images produced by re@. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D27641 git-svn-id: http://svn.freebsd.org/base/head@368719 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
-rw-r--r--usr.sbin/bsdinstall/partedit/gpart_ops.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/usr.sbin/bsdinstall/partedit/gpart_ops.c b/usr.sbin/bsdinstall/partedit/gpart_ops.c
index 51797264113..e68a02b4264 100644
--- a/usr.sbin/bsdinstall/partedit/gpart_ops.c
+++ b/usr.sbin/bsdinstall/partedit/gpart_ops.c
@@ -223,8 +223,6 @@ choose_part_type(const char *def_scheme)
"Bootable on most x86 systems and EFI aware ARM64", 0 },
{"MBR", "DOS Partitions",
"Bootable on most x86 systems", 0 },
- {"VTOC8", "Sun VTOC8 Partition Table",
- "Bootable on Sun SPARC systems", 0 },
};
parttypemenu:
@@ -725,11 +723,6 @@ set_default_part_metadata(const char *name, const char *scheme,
mountpoint = default_bootmount;
}
- /* VTOC8 needs partcode at the start of partitions */
- if (strcmp(scheme, "VTOC8") == 0 && (strcmp(type, "freebsd-ufs") == 0
- || strcmp(type, "freebsd-zfs") == 0))
- md->bootcode = 1;
-
if (mountpoint == NULL || mountpoint[0] == '\0') {
if (md->fstab != NULL) {
free(md->fstab->fs_spec);