+if [ "$mode" = "Extend" ]; then
+ echo "$mode dat file... (current is ${fsMB}MB, append ${size}MB, total ${total}MB)"
+ dd if=/dev/zero bs=1M count=$size status=none >> "$file"
+ sync
+else
+ echo "$mode dat file... (current is ${fsMB}MB, reduce ${size}MB, finally ${total}MB)"
+fi