[Midnightbsd-cvs] src [11527] trunk/sys/boot/zfs/zfs.c: drop freebsd partition types here.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Jul 7 16:27:48 EDT 2018
Revision: 11527
http://svnweb.midnightbsd.org/src/?rev=11527
Author: laffer1
Date: 2018-07-07 16:27:48 -0400 (Sat, 07 Jul 2018)
Log Message:
-----------
drop freebsd partition types here.
Modified Paths:
--------------
trunk/sys/boot/zfs/zfs.c
Modified: trunk/sys/boot/zfs/zfs.c
===================================================================
--- trunk/sys/boot/zfs/zfs.c 2018-07-07 19:27:42 UTC (rev 11526)
+++ trunk/sys/boot/zfs/zfs.c 2018-07-07 20:27:48 UTC (rev 11527)
@@ -450,9 +450,7 @@
/* Probe only midnightbsd & freebsd-zfs and freebsd partitions */
/* TODO: remove freebsd partitions LAH */
- if (part->type != PART_FREEBSD &&
- part->type != PART_FREEBSD_ZFS &&
- part->type != PART_MIDNIGHTBSD &&
+ if (part->type != PART_MIDNIGHTBSD &&
part->type != PART_MIDNIGHTBSD_ZFS)
return;
@@ -467,7 +465,7 @@
if (ret == 0)
return;
/* Do we have BSD label here? */
- if (part->type == PART_MIDNIGHTBSD || part->type == PART_FREEBSD) {
+ if (part->type == PART_MIDNIGHTBSD) {
pa.devname = devname;
pa.pool_guid = ppa->pool_guid;
pa.secsz = ppa->secsz;
More information about the Midnightbsd-cvs
mailing list