aboutsummaryrefslogtreecommitdiff
path: root/tools/test/stress2/misc/fts3.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test/stress2/misc/fts3.sh')
-rwxr-xr-xtools/test/stress2/misc/fts3.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/test/stress2/misc/fts3.sh b/tools/test/stress2/misc/fts3.sh
index 4cb75d8bf6e6..ed15fa451347 100755
--- a/tools/test/stress2/misc/fts3.sh
+++ b/tools/test/stress2/misc/fts3.sh
@@ -44,9 +44,8 @@ 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 3g -u $mdstart || exit 1
-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
start=`date '+%s'`
while [ $((`date '+%s'` - start)) -lt 120 ]; do