Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2020 15:00:19 +0000 (UTC)
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r368719 - head/usr.sbin/bsdinstall/partedit
Message-ID:  <202012171500.0BHF0Jn2090134@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mhorne
Date: Thu Dec 17 15:00:19 2020
New Revision: 368719
URL: https://svnweb.freebsd.org/changeset/base/368719

Log:
  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

Modified:
  head/usr.sbin/bsdinstall/partedit/gpart_ops.c

Modified: head/usr.sbin/bsdinstall/partedit/gpart_ops.c
==============================================================================
--- head/usr.sbin/bsdinstall/partedit/gpart_ops.c	Thu Dec 17 14:20:36 2020	(r368718)
+++ head/usr.sbin/bsdinstall/partedit/gpart_ops.c	Thu Dec 17 15:00:19 2020	(r368719)
@@ -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:
@@ -724,11 +722,6 @@ set_default_part_metadata(const char *name, const char
 		else if (mountpoint == NULL || strlen(mountpoint) == 0)
 			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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012171500.0BHF0Jn2090134>