aboutsummaryrefslogtreecommitdiff
path: root/tools/test/stress2/misc/pcatch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test/stress2/misc/pcatch.sh')
-rwxr-xr-xtools/test/stress2/misc/pcatch.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/test/stress2/misc/pcatch.sh b/tools/test/stress2/misc/pcatch.sh
index f1db7de253f2..6a4ebc34e00a 100755
--- a/tools/test/stress2/misc/pcatch.sh
+++ b/tools/test/stress2/misc/pcatch.sh
@@ -52,10 +52,9 @@ cd $here
mount | grep -q "$mntpoint" && umount $mntpoint
mdconfig -l | grep -q $mdstart && mdconfig -d -u $mdstart
mdconfig -a -t swap -s 1g -u $mdstart
-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
start=`date '+%s'`
while [ $((`date '+%s'` - start)) -lt 120 ]; do