Lines Matching refs:then

51 			if [[ "$1" == "/"* ]] ; then
128 if is_global_zone; then
129 if poolexists $TESTPOOL ; then
144 if [[ -n $container ]]; then
157 if [[ -n $volume ]]; then
158 if is_global_zone ; then
214 if snapexists $fs_vol@$snap; then
260 if bkmarkexists $fs_vol#$bkmark; then
361 if [[ ${#disks[*]} -lt 2 ]]; then
396 if is_global_zone; then
409 then
438 if [[ $fs == $ZONE_POOL/$ZONE_CTR[01234] ]]; then
445 [[ "$enc" == "off" ]]; then
472 if ! is_global_zone; then
502 if ! snapexists $snap; then
512 if ismounted $snap; then
532 if ! datasetexists $clone; then
538 if ismounted $clone; then
559 if ! bkmarkexists $bkmark; then
603 if (($# < 3)); then
610 if ((rv != 0)); then
641 if [[ $dataset = $confset ]]; then
647 if [[ -n $COMPRESSION_PROP ]]; then
652 if [[ -n $CHECKSUM_PROP ]]; then
729 if [[ -z $disk || -z $slice ]] ; then
742 if ((ratio == 0)); then
769 if ((i == 2)); then
819 if ((dirnum >= 0 && idirnum >= dirnum)); then
826 if (($retval != 0)); then
830 if (($fn >= $filenum)); then
843 # get the property then exits.
854 if [[ $? -ne 0 ]]; then
866 # get the property then exits.
874 if poolexists $pool ; then
877 if [[ $? -ne 0 ]]; then
899 if [[ -z $pool ]]; then
913 if (($# == 0)); then
932 if (($# == 0)); then
956 if [[ $fs != "/"* ]] ; then
957 if datasetnonexists "$fs" ; then
971 if [[ $mtpt == $fs ]] ; then
977 if [[ $stat != "ON" ]]; then
994 if (($? == 0)); then
1009 if (($? == 0)); then
1023 if ! is_global_zone; then
1029 if [[ $($SVCS -Ho STA $nfs_fmri) != "ON" ]]; then
1036 if [[ -d $dummy ]]; then
1074 if [[ $cur_zone != "global" ]]; then
1094 if is_global_zone ; then
1135 if [[ -z $pool ]]; then
1140 if poolexists $pool ; then
1144 if is_global_zone ; then
1163 if [[ -z $pool ]]; then
1168 if is_global_zone ; then
1169 if poolexists "$pool" ; then
1218 if verify_slog_support ; then
1274 if (($? == 0)); then
1306 if ((i == 0)); then
1308 if ! ismounted $TESTPOOL; then
1313 if eval ! ismounted \$TESTPOOL$i; then
1347 if [[ $dataset != *@* ]]; then
1354 if [[ -z $fs || -z $snap ]]; then
1381 if [[ -n $dirs ]] ; then
1390 if [[ $? != 0 ]]; then
1435 # running for a certain amount of time, then finishing.
1454 if (($? == 0)); then
1473 if [[ $state != ${cur_state} ]]; then
1492 if [[ $state != ${cur_state} ]]; then
1511 if [[ $state != ${cur_state} ]]; then
1582 if poolexists $pool ; then
1607 if (($? != 0)); then
1614 if (($? != 0)); then
1619 if ((${#username} != 0)); then
1626 if ! $rsh_cmd $rhost $TRUE; then
1654 if ((count > 5)); then
1683 if ((${#ruser} == 0)); then
1693 if (($ret != 0)); then
1803 if [ -b /dev/dsk/${disk}s0 ]; then
1804 if [ $count -lt $max_finddisksnum ]; then
1829 if ((${#gname} == 0 || ${#uname} == 0)); then
1849 if ((${#user} == 0)); then
1853 if $ID $user > /dev/null 2>&1; then
1871 if ((${#group} == 0)); then
1897 if ((${#grp} == 0)); then
1958 then
1964 then
1970 then
1977 then
2006 if [[ "ON" != $($SVCS -H -o sta $ISCSII_FMRI) ]]; then
2017 if [[ "ON" != $($SVCS -H -o sta $ISCSII_FMRI) ]]; then
2034 if [[ $iscsi == "remote" ]] ; then
2074 if ! is_iscsi_target $target ; then
2091 if [[ "ON" == $($SVCS -H -o sta $ISCSITGT_FMRI) ]]; then
2106 if [[ "ON" != $($SVCS -H -o sta $ISCSITGT_FMRI) ]]; then
2119 if [[ -e $ISCSITGTFILE ]]; then
2146 if [[ $1 == "zfs_compress" ]] ; then
2148 elif [[ $1 == "zfs_set" ]] ; then
2153 if [[ $? -eq 0 ]]; then
2173 if [[ $datatype != "fs" && $datatype != "vol" ]]; then
2182 if [[ $datatype == "vol" ]]; then
2187 if [[ -z $newdataset ]]; then
2195 if [[ -z $newdataset ]]; then
2208 if datasetexists ${newdataset%/*} ; then
2218 if ! datasetexists $newdataset ; then
2223 if [[ $ops != "rename" ]]; then
2241 if ! poolexists "$pool" ; then
2245 if [[ $alt_root == "-" ]]; then
2252 if [[ -n $value ]] ; then
2313 if ! $ZPOOL create -n $pool $vdev log $sdev > /dev/null 2>&1; then
2334 if ((len % baselen == 0)); then
2407 if [[ -z $dir ]]; then
2425 if [[ -z $disk ]]; then
2431 if [[ $arch == "i386" ]]; then
2441 elif [[ $arch == "sparc" ]]; then
2459 if ((ret_val != 0)); then
2485 if [[ -z "$rootfs" ]]; then
2489 if (($? == 0)); then
2507 if [[ -z "$rootfs" ]]; then
2511 if (($? == 0)); then
2553 if ! $(is_physical_device $device) ; then
2554 if [[ $device != "/" ]]; then
2590 if ((count < min)); then
2623 if (($? != 0)); then
2660 if [[ -z $pool ]]; then