Lines Matching refs:then

43 	if [[ $(uname -o) == "GNU/Linux" ]]; then
65 if [[ "$1" == "/"* ]] ; then
142 if is_global_zone; then
143 if poolexists $TESTPOOL ; then
158 if [[ -n $container ]]; then
171 if [[ -n $volume ]]; then
172 if is_global_zone ; then
228 if snapexists $fs_vol@$snap; then
274 if bkmarkexists $fs_vol#$bkmark; then
315 if [[ $(get_prop 'inconsistent' "$recvfs/%recv") -ne 1 ]]; then
417 if [[ ${#disks[*]} -lt 2 ]]; then
452 if is_global_zone; then
465 then
493 if [[ $fs == $ZONE_POOL/$ZONE_CTR[01234] ]]; then
500 [[ "$enc" == "off" ]]; then
527 if ! is_global_zone; then
554 if ! snapexists $snap; then
564 if ismounted $snap; then
584 if ! datasetexists $clone; then
590 if ismounted $clone; then
611 if ! bkmarkexists $bkmark; then
655 if (($# < 3)); then
662 if ((rv != 0)); then
693 if [[ $dataset = $confset ]]; then
699 if [[ -n $COMPRESSION_PROP ]]; then
704 if [[ -n $CHECKSUM_PROP ]]; then
781 if [[ -z $disk || -z $slice ]] ; then
794 if ((ratio == 0)); then
821 if ((i == 2)); then
871 if ((dirnum >= 0 && idirnum >= dirnum)); then
878 if (($retval != 0)); then
882 if (($fn >= $filenum)); then
895 # get the property then exits.
906 if [[ $? -ne 0 ]]; then
918 # get the property then exits.
926 if poolexists $pool ; then
929 if [[ $? -ne 0 ]]; then
951 if [[ -z $pool ]]; then
965 if (($# == 0)); then
984 if (($# == 0)); then
1008 if [[ $fs != "/"* ]] ; then
1009 if datasetnonexists "$fs" ; then
1023 if [[ $mtpt == $fs ]] ; then
1029 if [[ $stat != "ON" ]]; then
1046 if (($? == 0)); then
1061 if (($? == 0)); then
1075 if ! is_global_zone; then
1081 if [[ $(svcs -Ho STA $nfs_fmri) != "ON" ]]; then
1088 if [[ -d $dummy ]]; then
1126 if [[ $cur_zone != "global" ]]; then
1146 if is_global_zone ; then
1187 if [[ -z $pool ]]; then
1192 if poolexists $pool ; then
1196 if is_global_zone ; then
1215 if [[ -z $pool ]]; then
1220 if is_global_zone ; then
1221 if poolexists "$pool" ; then
1261 if [[ -z $dataset ]]; then
1266 if datasetexists $dataset ; then
1288 if [[ -z $dataset ]]; then
1293 if is_global_zone ; then
1294 if datasetexists "$dataset" ; then
1343 if verify_slog_support ; then
1399 if (($? == 0)); then
1431 if ((i == 0)); then
1433 if ! ismounted $TESTPOOL; then
1438 if eval ! ismounted \$TESTPOOL$i; then
1472 if [[ $dataset != *@* ]]; then
1479 if [[ -z $fs || -z $snap ]]; then
1529 if [[ -n $dirs ]] ; then
1538 if [[ $? != 0 ]]; then
1560 if [[ $cksum != 0 ]]; then
1585 # running for a certain amount of time, then finishing.
1604 if (($? == 0)); then
1623 if [[ $state != ${cur_state} ]]; then
1643 if check_hotspare_state $pool $disk $state; then
1667 if [[ $state != ${cur_state} ]]; then
1686 if [[ $state != ${cur_state} ]]; then
1706 if check_vdev_state $pool $disk $state; then
1732 if [[ $verbose == true ]]; then
1809 if ((SECONDS - t0 > $timeout)); then
1844 if poolexists $pool ; then
1928 if [ -b /dev/dsk/${disk}s0 ]; then
1929 if [ $count -lt $max_finddisksnum ]; then
1954 if ((${#gname} == 0 || ${#uname} == 0)); then
1975 if ((${#user} == 0)); then
1979 if id $user > /dev/null 2>&1; then
1997 if ((${#group} == 0)); then
2023 if ((${#grp} == 0)); then
2084 then
2090 then
2096 then
2103 then
2121 if [[ $1 == "zfs_compress" ]] ; then
2123 elif [[ $1 == "zfs_set" ]] ; then
2128 if [[ $? -eq 0 ]]; then
2148 if [[ $datatype != "fs" && $datatype != "vol" ]]; then
2157 if [[ $datatype == "vol" ]]; then
2162 if [[ -z $newdataset ]]; then
2170 if [[ -z $newdataset ]]; then
2191 if ! datasetexists $newdataset ; then
2196 if [[ $ops != "rename" ]]; then
2214 if ! poolexists "$pool" ; then
2218 if [[ $alt_root == "-" ]]; then
2225 if [[ -n $value ]] ; then
2286 if ! zpool create -n $pool $vdev log $sdev > /dev/null 2>&1; then
2307 if ((len % baselen == 0)); then
2381 if [[ -z $dir ]]; then
2402 if [[ -z $disk ]]; then
2408 if [[ $arch == "i386" ]]; then
2416 elif [[ $arch == "sparc" ]]; then
2429 if format -e -s -d $disk -f $label_file ; then
2438 if ((ret_val != 0)); then
2464 if [[ -z "$rootfs" ]]; then
2468 if (($? == 0)); then
2486 if [[ -z "$rootfs" ]]; then
2490 if (($? == 0)); then
2517 if ! $(is_physical_device $device) ; then
2518 if [[ $device != "/" ]]; then
2554 if ((count < min)); then
2587 if (($? != 0)); then
2629 if [[ -z $pool ]]; then
2728 if [[ $force == true ]]; then
2746 if [[ $force == true ]]; then
2866 if [[ $? -ne 0 ]]; then
2904 if [[ $echo -eq 0 ]]; then
2915 if [[ $echo -eq 1 ]]; then
2940 if [ -x /usr/bin/digest ]; then
2942 elif [ -x /usr/bin/sha256sum ]; then
2953 if is_linux; then