Lines Matching full:echo

23 		echo $msg must be run as root >&2
30 echo "zram cleanup"
41 echo 1 > /sys/block/zram${i}/reset
50 echo "zram rmmod zram"
61 echo "create '$dev_num' zram device(s)"
64 echo "failed to insert zram module"
71 echo "unexpected num of devices: $dev_num_created"
74 echo "zram load module successful"
77 echo "/dev/zram0 device file found: OK"
79 echo "ERROR: No zram.ko module or no /dev/zram0 device found"
80 echo "$TCID : CONFIG_ZRAM is not set"
87 echo "set max_comp_streams to zram device(s)"
92 echo $max_s > $sys_path || \
93 echo "FAIL failed to set '$max_s' to $sys_path"
98 echo "FAIL can't set max_streams '$max_s', get $max_stream"
101 echo "$sys_path = '$max_streams' ($i/$dev_num)"
104 echo "zram max streams: OK"
109 echo "test that we can set compression algorithm"
112 echo "supported algs: $algs"
116 echo "$alg" > $sys_path || \
117 echo "FAIL can't set '$alg' to $sys_path"
119 echo "$sys_path = '$alg' ($i/$dev_num)"
122 echo "zram set compression algorithm: OK"
127 echo "set disk size to zram device(s)"
131 echo "$ds" > $sys_path || \
132 echo "FAIL can't set '$ds' to $sys_path"
135 echo "$sys_path = '$ds' ($i/$dev_num)"
138 echo "zram set disksizes: OK"
143 echo "set memory limit to zram device(s)"
148 echo "$ds" > $sys_path || \
149 echo "FAIL can't set '$ds' to $sys_path"
152 echo "$sys_path = '$ds' ($i/$dev_num)"
155 echo "zram set memory limit: OK"
160 echo "make swap with zram device(s)"
166 echo "FAIL mkswap /dev/zram$1 failed"
172 echo "FAIL swapon /dev/zram$1 failed"
175 echo "done with /dev/zram$i"
179 echo "zram making zram mkswap and swapon: OK"
189 echo "FAIL swapoff /dev/zram$i failed"
194 echo "zram swapoff: OK"
204 echo "make $fs filesystem on /dev/zram$i"
208 echo "FAIL failed to make $fs on /dev/zram$i"
211 echo "zram mkfs.$fs: OK"
219 echo "mount /dev/zram$i"
222 echo "FAIL mount /dev/zram$i failed"
226 echo "zram mount of zram device(s): OK"