aboutsummaryrefslogtreecommitdiff
path: root/tools/test/stress2/misc/dfull.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test/stress2/misc/dfull.sh')
-rwxr-xr-xtools/test/stress2/misc/dfull.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/test/stress2/misc/dfull.sh b/tools/test/stress2/misc/dfull.sh
index 100784047dbc..5ee40698a96d 100755
--- a/tools/test/stress2/misc/dfull.sh
+++ b/tools/test/stress2/misc/dfull.sh
@@ -33,13 +33,12 @@
. ../default.cfg
-mount | grep "$mntpoint" | grep md${mdstart}$part > /dev/null && umount $mntpoint
+mount | grep "$mntpoint" | grep md$mdstart > /dev/null && umount $mntpoint
mdconfig -l | grep md$mdstart > /dev/null && mdconfig -d -u $mdstart
mdconfig -a -t swap -s 512m -u $mdstart
-bsdlabel -w md$mdstart auto
-newfs $newfs_flags md${mdstart}$part > /dev/null
-mount /dev/md${mdstart}$part $mntpoint
+newfs $newfs_flags md$mdstart > /dev/null
+mount /dev/md$mdstart $mntpoint
export RUNDIR=$mntpoint/stressX
set `df -ik $mntpoint | tail -1 | awk '{print $4,$7}'`