From ae9c8ed55f72410140d2d6e231633063b8b02ba9 Mon Sep 17 00:00:00 2001 From: avg Date: Mon, 30 Oct 2017 10:33:05 +0000 Subject: [PATCH] MFC r324347: MFV r316933: 5142 libzfs support raidz root pool (loader project) FreeBSD note: we have long supported this feature, this commit only removes a small difference in libzfs. git-svn-id: svn://svn.freebsd.org/base/stable/10@325150 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c b/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c index face63086..c0ad0437b 100644 --- a/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c +++ b/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c @@ -2272,6 +2272,7 @@ vdev_get_physpaths(nvlist_t *nv, char *physpath, size_t phypath_size, return (ret); } } else if (strcmp(type, VDEV_TYPE_MIRROR) == 0 || + strcmp(type, VDEV_TYPE_RAIDZ) == 0 || strcmp(type, VDEV_TYPE_REPLACING) == 0 || (is_spare = (strcmp(type, VDEV_TYPE_SPARE) == 0))) { nvlist_t **child; -- 2.45.0