svn commit: r197032 - projects/stress2/misc

Peter Holm pho at FreeBSD.org
Wed Sep 9 11:09:43 UTC 2009


Author: pho
Date: Wed Sep  9 11:09:43 2009
New Revision: 197032
URL: http://svn.freebsd.org/changeset/base/197032

Log:
  Use bsdlabel not disklabel.

Modified:
  projects/stress2/misc/backingstore.sh

Modified: projects/stress2/misc/backingstore.sh
==============================================================================
--- projects/stress2/misc/backingstore.sh	Wed Sep  9 10:52:36 2009	(r197031)
+++ projects/stress2/misc/backingstore.sh	Wed Sep  9 11:09:43 2009	(r197032)
@@ -46,7 +46,7 @@ dede $D$m 100m 1 || exit 1
 
 mdconfig -a -t vnode -f $D$m -u $m
 
-disklabel -r -w md$m auto
+bsdlabel -w md$m auto
 newfs md${m}${part} > /dev/null 2>&1
 mount $opt /dev/md${m}${part} ${mntpoint}$m
 
@@ -59,7 +59,7 @@ mdconfig -l | grep -q md$m &&  mdconfig 
 truncate -s 500M ${mntpoint}$n/diskimage
 mdconfig -a -t vnode -f ${mntpoint}$n/diskimage -u $m
 
-disklabel -r -w md$m auto
+bsdlabel -w md$m auto
 newfs md${m}${part} > /dev/null 2>&1
 mount $opt /dev/md${m}${part} ${mntpoint}$m
 


More information about the svn-src-projects mailing list