Fix the mount command.
This commit is contained in:
parent
a5c288548d
commit
c3bfd71e75
2
beadm
2
beadm
|
|
@ -709,7 +709,7 @@ EOF
|
||||||
echo "ERROR: Cannot mount '${2}' at '${TARGET}' mountpoint"
|
echo "ERROR: Cannot mount '${2}' at '${TARGET}' mountpoint"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
PREFIX=$( echo ${POOL}/${BEDS}/${2}/ | sed 's/\//\\//g' )
|
PREFIX=$( echo ${POOL}/${BEDS}/${2}/ | sed 's/\//\\/g' )
|
||||||
zfs list -H -o name,mountpoint -r ${POOL}/${BEDS}/${2} \
|
zfs list -H -o name,mountpoint -r ${POOL}/${BEDS}/${2} \
|
||||||
| grep -v -E "[[:space:]](legacy|none)$" \
|
| grep -v -E "[[:space:]](legacy|none)$" \
|
||||||
| sort -n \
|
| sort -n \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue