Lines Matching refs:clone

223 		clone)
316 clone)
757 typeset clone=$basefs/cfs.$stamp
760 user_run $user zfs clone $snap $clone
761 if datasetexists $clone ; then
766 user_run $user zfs clone $snap $clone
768 if datasetexists $clone ; then
773 user_run $user zfs clone $snap $clone
775 if datasetexists $clone ; then
781 user_run $user zfs clone $snap $clone
784 if ! datasetexists $clone ; then
992 typeset clone=$basefs/cfs.$stamp
995 log_must zfs clone $snap $clone
996 log_must zfs promote $clone
999 typeset clone_orig=$(get_prop origin $clone)
1005 $clone_orig != $(get_prop origin $clone) ]]; then
1009 log_must zfs allow $user promote $clone
1011 log_must zfs unallow $user promote $clone
1013 $clone_orig != $(get_prop origin $clone) ]]; then
1021 $clone_orig != $(get_prop origin $clone) ]]; then
1026 log_must zfs allow $user promote $clone
1028 log_must zfs unallow $user promote $clone
1030 if [[ $snap != $(get_prop origin $clone) || \
1404 typeset clone=$basevol/cvol.$stamp
1408 user_run $user zfs clone $snap $clone
1409 if datasetexists $clone ; then
1414 user_run $user zfs clone $snap $clone
1416 if datasetexists $clone ; then
1421 user_run $user zfs clone $snap $clone
1423 if datasetexists $clone ; then
1431 user_run $user zfs clone $snap $clone
1434 if ! datasetexists $clone ; then
1450 typeset clone=$basevol/cvol.$stamp
1497 typeset clone=$basevol/cvol.$stamp
1500 log_must zfs clone $snap $clone
1501 log_must zfs promote $clone
1504 typeset clone_orig=$(get_prop origin $clone)
1506 # promote should fail if $vol and $clone
1511 $clone_orig != $(get_prop origin $clone) ]];
1516 # promote should fail if $vol and $clone
1519 log_must zfs allow $user promote $clone
1521 log_must zfs unallow $user promote $clone
1523 $clone_orig != $(get_prop origin $clone) ]];
1528 # promote should fail if $vol and $clone
1535 $clone_orig != $(get_prop origin $clone) ]];
1540 # promote should fail if $vol and $clone
1543 log_must zfs allow $user mount $clone
1545 log_must zfs unallow $user mount $clone
1547 $clone_orig != $(get_prop origin $clone) ]];
1552 # promote should fail if $vol and $clone
1555 log_must zfs allow $user promote $clone
1558 log_must zfs unallow $user promote $clone
1561 $clone_orig != $(get_prop origin $clone) ]];
1566 # promote should fail if $vol and $clone
1569 log_must zfs allow $user promote $clone
1570 log_must zfs allow $user mount $clone
1572 log_must zfs unallow $user promote $clone
1575 $clone_orig != $(get_prop origin $clone) ]];
1580 # promote should fail if $vol and $clone
1584 log_must zfs allow $user mount $clone
1587 log_must zfs unallow $user mount $clone
1589 $clone_orig != $(get_prop origin $clone) ]];
1594 # promote only succeeds when $vol and $clone
1597 log_must zfs allow $user promote $clone
1599 log_must zfs allow $user mount $clone
1601 log_must zfs unallow $user promote $clone
1603 log_must zfs unallow $user mount $clone
1604 if [[ $snap != $(get_prop origin $clone) || \