svn commit: r306339 - head/sbin/growfs/tests

Ruslan Bukin br at FreeBSD.org
Mon Sep 26 14:01:42 UTC 2016


Author: br
Date: Mon Sep 26 14:01:41 2016
New Revision: 306339
URL: https://svnweb.freebsd.org/changeset/base/306339

Log:
  Use bsdlabel as we don't have hardlink disklabel -> bsdlabel on MIPS.
  
  Sponsored by:	DARPA, AFRL
  Sponsored by:	HEIF5

Modified:
  head/sbin/growfs/tests/legacy_test.pl

Modified: head/sbin/growfs/tests/legacy_test.pl
==============================================================================
--- head/sbin/growfs/tests/legacy_test.pl	Mon Sep 26 13:59:18 2016	(r306338)
+++ head/sbin/growfs/tests/legacy_test.pl	Mon Sep 26 14:01:41 2016	(r306339)
@@ -14,7 +14,7 @@ END { system "mdconfig -du$unit" if defi
 sub setsize {
     my ($partszMB, $unitszMB) = @_;
 
-    open my $fd, "|-", "disklabel -R md$unit /dev/stdin" or die;
+    open my $fd, "|-", "bsdlabel -R md$unit /dev/stdin" or die;
     print $fd "a: ", ($partszMB * BLKS_PER_MB), " 0 4.2BSD 1024 8192\n";
     print $fd "c: ", ($unitszMB * BLKS_PER_MB), " 0 unused 0 0\n";
     close $fd;


More information about the svn-src-all mailing list