Date: Mon, 26 Sep 2016 14:01:41 +0000 (UTC) From: Ruslan Bukin <br@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r306339 - head/sbin/growfs/tests Message-ID: <201609261401.u8QE1fQ4086790@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609261401.u8QE1fQ4086790>