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
1232 if verify_slog_support ; then
1288 if (($? == 0)); then
1320 if ((i == 0)); then
1322 if ! ismounted $TESTPOOL; then
1327 if eval ! ismounted \$TESTPOOL$i; then
1361 if [[ $dataset != *@* ]]; then
1368 if [[ -z $fs || -z $snap ]]; then
1395 if [[ -n $dirs ]] ; then
1404 if [[ $? != 0 ]]; then
1433 # running for a certain amount of time, then finishing.
1452 if (($? == 0)); then
1471 if [[ $state != ${cur_state} ]]; then
1490 if [[ $state != ${cur_state} ]]; then
1509 if [[ $state != ${cur_state} ]]; then
1580 if poolexists $pool ; then
1605 if (($? != 0)); then
1612 if (($? != 0)); then
1617 if ((${#username} != 0)); then
1624 if ! $rsh_cmd $rhost $TRUE; then
1652 if ((count > 5)); then
1681 if ((${#ruser} == 0)); then
1691 if (($ret != 0)); then
1794 if [ -b /dev/dsk/${disk}s0 ]; then
1795 if [ $count -lt $max_finddisksnum ]; then
1820 if ((${#gname} == 0 || ${#uname} == 0)); then
1840 if ((${#user} == 0)); then
1844 if $ID $user > /dev/null 2>&1; then
1862 if ((${#group} == 0)); then
1888 if ((${#grp} == 0)); then
1949 then
1955 then
1961 then
1968 then
1986 if [[ $1 == "zfs_compress" ]] ; then
1988 elif [[ $1 == "zfs_set" ]] ; then
1993 if [[ $? -eq 0 ]]; then
2013 if [[ $datatype != "fs" && $datatype != "vol" ]]; then
2022 if [[ $datatype == "vol" ]]; then
2027 if [[ -z $newdataset ]]; then
2035 if [[ -z $newdataset ]]; then
2048 if datasetexists ${newdataset%/*} ; then
2058 if ! datasetexists $newdataset ; then
2063 if [[ $ops != "rename" ]]; then
2081 if ! poolexists "$pool" ; then
2085 if [[ $alt_root == "-" ]]; then
2092 if [[ -n $value ]] ; then
2153 if ! $ZPOOL create -n $pool $vdev log $sdev > /dev/null 2>&1; then
2174 if ((len % baselen == 0)); then
2247 if [[ -z $dir ]]; then
2265 if [[ -z $disk ]]; then
2271 if [[ $arch == "i386" ]]; then
2281 elif [[ $arch == "sparc" ]]; then
2299 if ((ret_val != 0)); then
2325 if [[ -z "$rootfs" ]]; then
2329 if (($? == 0)); then
2347 if [[ -z "$rootfs" ]]; then
2351 if (($? == 0)); then
2393 if ! $(is_physical_device $device) ; then
2394 if [[ $device != "/" ]]; then
2430 if ((count < min)); then
2463 if (($? != 0)); then
2505 if [[ -z $pool ]]; then