From d7c784b1a8ba89321b7f1649fd4b8eac458d5812 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Sun, 4 Mar 2012 17:33:22 +0000 Subject: [PATCH] Permit the use of raidz3 in pc-sysinstall PR: conf/164709 Submitted by: Garrett Cooper Reviewed by: brd, brooks Approved by: cperciva MFC after: 3 days --- usr.sbin/pc-sysinstall/backend/functions-bsdlabel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/pc-sysinstall/backend/functions-bsdlabel.sh b/usr.sbin/pc-sysinstall/backend/functions-bsdlabel.sh index 904d3eec2df9..f1cdf0174713 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-bsdlabel.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-bsdlabel.sh @@ -59,7 +59,7 @@ get_fs_line_xvars() ZTYPE="NONE" ZFSVARS="`echo $LINE | cut -d '(' -f 2- | cut -d ')' -f 1 | xargs`" - echo $ZFSVARS | grep -qE "^(disk|file|mirror|raidz(1|2)?|spare|log|cache):" 2>/dev/null + echo $ZFSVARS | grep -qE "^(disk|file|mirror|raidz(1|2|3)?|spare|log|cache):" 2>/dev/null if [ $? -eq 0 ] ; then ZTYPE=`echo $ZFSVARS | cut -f1 -d:` ZFSVARS=`echo $ZFSVARS | sed "s|$ZTYPE: ||g" | sed "s|$ZTYPE:||g"`