Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144603849
D50865.1775694998.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
613 B
Referenced Files
None
Subscribers
None
D50865.1775694998.diff
View Options
diff --git a/sbin/growfs/tests/legacy_test.pl b/sbin/growfs/tests/legacy_test.pl
--- a/sbin/growfs/tests/legacy_test.pl
+++ b/sbin/growfs/tests/legacy_test.pl
@@ -30,9 +30,9 @@
sub setsize {
my ($partszMB, $unitszMB) = @_;
- 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";
+ open my $fd, "|-", "gpart restore -F md$unit" or die;
+ print $fd "BSD 8\n";
+ print $fd "1 freebsd-ufs 0 ", ($partszMB * BLKS_PER_MB), "\n";
close $fd;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 9, 12:36 AM (1 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28305239
Default Alt Text
D50865.1775694998.diff (613 B)
Attached To
Mode
D50865: growfs: use gpart instead of bsdlabel in test
Attached
Detach File
Event Timeline
Log In to Comment