diff options
Diffstat (limited to 'tools/test/stress2/misc/nullfs18.sh')
-rwxr-xr-x | tools/test/stress2/misc/nullfs18.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/test/stress2/misc/nullfs18.sh b/tools/test/stress2/misc/nullfs18.sh index 1f3320bff1e6..0ee0a1c2ef6b 100755 --- a/tools/test/stress2/misc/nullfs18.sh +++ b/tools/test/stress2/misc/nullfs18.sh @@ -39,11 +39,10 @@ mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart mdconfig -a -t swap -s 2g -u $mdstart || exit 1 -bsdlabel -w md$mdstart auto -newfs -n md${mdstart}$part > /dev/null +newfs -n md$mdstart > /dev/null -mount /dev/md${mdstart}$part $mntpoint +mount /dev/md$mdstart $mntpoint chmod 777 $mntpoint set `df -ik $mntpoint | tail -1 | awk '{print $4,$7}'` export KBLOCKS=$(($1 / N)) |