Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2015 10:29:50 +0000 (UTC)
From:      Peter Holm <pho@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r283878 - user/pho/stress2/misc
Message-ID:  <201506011029.t51ATomA088584@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pho
Date: Mon Jun  1 10:29:50 2015
New Revision: 283878
URL: https://svnweb.freebsd.org/changeset/base/283878

Log:
  Cleanup.
  
  Sponsored by:	 EMC / Isilon storage division

Modified:
  user/pho/stress2/misc/nbufkv.sh

Modified: user/pho/stress2/misc/nbufkv.sh
==============================================================================
--- user/pho/stress2/misc/nbufkv.sh	Mon Jun  1 10:28:36 2015	(r283877)
+++ user/pho/stress2/misc/nbufkv.sh	Mon Jun  1 10:29:50 2015	(r283878)
@@ -58,8 +58,8 @@ truncate -s 20g $d2
 
 mount | grep -q /dev/md${u2}$part && umount -f /dev/md${u2}$part
 mount | grep -q /dev/md${u1}$part && umount -f /dev/md${u1}$part
-mdconfig -l | grep -q md${u2} && mdconfig -d -u $u2
-mdconfig -l | grep -q md${u1} && mdconfig -d -u $u1
+mdconfig -l | grep -q md$u2 && mdconfig -d -u $u2
+mdconfig -l | grep -q md$u1 && mdconfig -d -u $u1
 
 mdconfig -a -t vnode -f $d1 -u $u1
 bsdlabel -w md$u1 auto
@@ -72,9 +72,9 @@ newfs -b 65536 -f 65536 -O2 md${u2}$part
 mount /dev/md${u1}$part $mp1
 mount /dev/md${u2}$part $mp2
 
-/tmp/nbufkv /$mp1 &
-/tmp/nbufkv /$mp2 &
-wait;wait
+/tmp/nbufkv $mp1 &
+/tmp/nbufkv $mp2 &
+wait
 
 umount /dev/md${u2}$part
 umount /dev/md${u1}$part



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506011029.t51ATomA088584>