Permit the use of raidz3 in pc-sysinstall
PR: conf/164709 Submitted by: Garrett Cooper <yanegomi@gmail.com> Reviewed by: brd, brooks Approved by: cperciva MFC after: 3 days
This commit is contained in:
parent
03225fac13
commit
d7c784b1a8
@ -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"`
|
||||
|
Loading…
Reference in New Issue
Block a user