Lines Matching +full:default +full:- +full:trim
29 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
31 # Run with marcus.cfg on a 1 GB swap backed MD with option trim.
32 # SU+J FS corruption seen with option trim.
34 . ../default.cfg
36 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint
37 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart
40 [ $# -eq 0 ] && trim=-t
41 [ "$newfs_flags" = "-U" ] && flag="-j"
44 while [ $((`date +%s` - start)) -lt $((15 * 60)) ]; do
46 echo "mdconfig -a -t swap -s $size -u $mdstart"
47 mdconfig -a -t swap -s $size -u $mdstart || exit 1
49 echo "newfs $trim $flag md$mdstart"
50 newfs $trim $flag md$mdstart > /dev/null
58 su $testuser -c 'cd ..; ./run.sh marcus.cfg' > /dev/null 2>&1
60 while mount | grep $mntpoint | grep -q /dev/md; do
65 mdconfig -d -u $mdstart