svn commit: r322528 - user/pho/stress2/misc

Peter Holm pho at FreeBSD.org
Tue Aug 15 07:21:48 UTC 2017


Author: pho
Date: Tue Aug 15 07:21:47 2017
New Revision: 322528
URL: https://svnweb.freebsd.org/changeset/base/322528

Log:
  Fix hard coded unit number.
  
  Sponsored by:	Dell EMC Isilon

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

Modified: user/pho/stress2/misc/md3.sh
==============================================================================
--- user/pho/stress2/misc/md3.sh	Tue Aug 15 06:01:36 2017	(r322527)
+++ user/pho/stress2/misc/md3.sh	Tue Aug 15 07:21:47 2017	(r322528)
@@ -40,8 +40,8 @@ mdconfig -l | grep -q $mdstart &&  mdconfig -d -u $mds
 mdconfig -a -t swap -s 1400m -u $mdstart
 bsdlabel -w md$mdstart auto
 
-newfs $newfs_flags md5$part > /dev/null
-mount /dev/md5$part $mntpoint
+newfs $newfs_flags md${mdstart}$part > /dev/null
+mount /dev/md${mdstart}$part $mntpoint
 
 # Stop FS "out of inodes" problem by only using 70%
 set `df -ik $mntpoint | tail -1 | awk '{print $4,$7}'`


More information about the svn-src-user mailing list