Lines Matching +full:big +full:-
24 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
28 mount | grep "on `df /var | tail -1 | awk '{print $NF}'`" |
29 grep -q 'journaled soft-updates' && exit 0
30 rm -f $root/.snap/stress2 $root/big $root/big2
31 trap "rm -f $root/.snap/stress2 $root/big $root/big2" 0
32 free=`df $root | tail -1 | awk '{print $4}'`
33 timeout 5m dd if=/dev/zero of=$root/big bs=1m count=$(( free / 1024 - 90)) \
38 while [ $((`date +%s` - start)) -lt 300 ]; do
40 nice -20 mksnap_ffs $root $root/.snap/stress2 &
43 [ -f $root/.snap/stress2 ] && exit 0
44 rm -f $root/.snap/stress2 $root/big2
48 rm -f $root/.snap/stress2 $root/big $root/big2