aboutsummaryrefslogtreecommitdiff
path: root/tools/test/stress2/misc/rw.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test/stress2/misc/rw.sh')
-rwxr-xr-xtools/test/stress2/misc/rw.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/test/stress2/misc/rw.sh b/tools/test/stress2/misc/rw.sh
index 2cba9587c925..3f7f83df49db 100755
--- a/tools/test/stress2/misc/rw.sh
+++ b/tools/test/stress2/misc/rw.sh
@@ -40,11 +40,10 @@ mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint
[ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart
mdconfig -a -t swap -s 2g -u $mdstart || exit 1
-bsdlabel -w md$mdstart auto
-newfs $newfs_flags md${mdstart}$part > /dev/null
+newfs $newfs_flags md$mdstart > /dev/null
-mount /dev/md${mdstart}$part $mntpoint
+mount /dev/md$mdstart $mntpoint
chmod 777 $mntpoint
export runRUNTIME=10m