Lines Matching full:echo
28 echo $msg must be run as root >&2
49 echo "zram cleanup"
60 echo 1 > /sys/block/zram${i}/reset
66 echo $i > /sys/class/zram-control/hot_remove
77 echo "create '$dev_num' zram device(s)"
81 echo "zram modules already loaded, kernel supports" \
91 echo "all zram devices (/dev/zram$dev_start~$dev_end" \
102 echo "zram module is being used on old kernel" \
107 echo "test needs CONFIG_ZRAM=m on old kernel without" \
116 echo "all zram devices (/dev/zram0~$dev_end) successfully created"
121 echo "set max_comp_streams to zram device(s)"
125 echo "The device attribute max_comp_streams was"\
133 echo $max_s > $sys_path || \
134 echo "FAIL failed to set '$max_s' to $sys_path"
139 echo "FAIL can't set max_streams '$max_s', get $max_stream"
142 echo "$sys_path = '$max_streams'"
145 echo "zram max streams: OK"
150 echo "test that we can set compression algorithm"
154 echo "supported algs: $algs"
158 echo "$alg" > $sys_path || \
159 echo "FAIL can't set '$alg' to $sys_path"
161 echo "$sys_path = '$alg'"
164 echo "zram set compression algorithm: OK"
169 echo "set disk size to zram device(s)"
173 echo "$ds" > $sys_path || \
174 echo "FAIL can't set '$ds' to $sys_path"
177 echo "$sys_path = '$ds'"
180 echo "zram set disksizes: OK"
185 echo "set memory limit to zram device(s)"
190 echo "$ds" > $sys_path || \
191 echo "FAIL can't set '$ds' to $sys_path"
194 echo "$sys_path = '$ds'"
197 echo "zram set memory limit: OK"
202 echo "make swap with zram device(s)"
208 echo "FAIL mkswap /dev/zram$1 failed"
214 echo "FAIL swapon /dev/zram$1 failed"
217 echo "done with /dev/zram$i"
221 echo "zram making zram mkswap and swapon: OK"
231 echo "FAIL swapoff /dev/zram$i failed"
236 echo "zram swapoff: OK"
246 echo "make $fs filesystem on /dev/zram$i"
250 echo "FAIL failed to make $fs on /dev/zram$i"
253 echo "zram mkfs.$fs: OK"
261 echo "mount /dev/zram$i"
264 echo "FAIL mount /dev/zram$i failed"
268 echo "zram mount of zram device(s): OK"