Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 2017 07:21:47 +0000 (UTC)
From:      Peter Holm <pho@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r322528 - user/pho/stress2/misc
Message-ID:  <201708150721.v7F7LlWC012892@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}'`



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