aboutsummaryrefslogtreecommitdiff
path: root/tools/test/stress2/misc/md9.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test/stress2/misc/md9.sh')
-rwxr-xr-xtools/test/stress2/misc/md9.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/test/stress2/misc/md9.sh b/tools/test/stress2/misc/md9.sh
index a232ade6963f..ab5024404b36 100755
--- a/tools/test/stress2/misc/md9.sh
+++ b/tools/test/stress2/misc/md9.sh
@@ -43,9 +43,8 @@ mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint
diskimage=$mp2/diskimage
dd if=/dev/zero of=$diskimage bs=1m count=2k status=none
mdconfig -a -t vnode -f $diskimage -u $mdstart
-bsdlabel -w md$mdstart auto
-newfs -U /dev/md${mdstart}$part > /dev/null
-mount /dev/md${mdstart}$part $mntpoint
+newfs -U /dev/md$mdstart > /dev/null
+mount /dev/md$mdstart $mntpoint
for i in `jot 10`; do
umount $mntpoint && break