Lines Matching refs:property
37 # without affecting the on-disk property. The original on-disk value will be
48 # 1. Create filesystem and get origianl property value.
49 # 2. Using 'zfs mount -o' to set filesystem property.
50 # 3. Verify the property was set temporarily.
51 # 4. Verify it will not affect the property that is stored on disk.
61 log_assert "Verify '-o' will set filesystem property temporarily, " \
62 "without affecting the property that is stored on disk."
68 # Get the specified filesystem property reverse mount option.
71 # $2 property
78 # Define property value: "reverse if value=on" "reverse if value=off"
112 for property in ${properties[@]}; do
113 orig_val=$(get_prop $property $fs)
114 (($? != 0)) && log_fail "get_prop $property $fs"
116 # Set filesystem property temporarily
117 reverse_opt=$(get_reverse_option $fs $property)
120 cur_val=$(get_prop $property $fs)
121 (($? != 0)) && log_fail "get_prop $property $fs"
124 if ! is_global_zone && [[ $property == devices ]] ; then
126 log_fail "'devices' property shouldn't " \
131 "doesn't change property."
134 # unmount & mount will revert property to the original value
138 cur_val=$(get_prop $property $fs)
139 (($? != 0)) && log_fail "get_prop $property $fs"
142 "change the property that is stored on disks"
146 log_pass "Verify '-o' set filesystem property temporarily passed."