aboutsummaryrefslogtreecommitdiff
path: root/tools/test/stress2/misc/sched.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test/stress2/misc/sched.sh')
-rwxr-xr-xtools/test/stress2/misc/sched.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/test/stress2/misc/sched.sh b/tools/test/stress2/misc/sched.sh
index f91055b3c289..1a1db70eb38a 100755
--- a/tools/test/stress2/misc/sched.sh
+++ b/tools/test/stress2/misc/sched.sh
@@ -43,9 +43,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 1g -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
chmod 777 $mntpoint
cpus=`sysctl hw.ncpu | sed 's/.*: //'`