Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156746374
D50865.id157258.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
613 B
Referenced Files
None
Subscribers
None
D50865.id157258.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
Sun, May 17, 2:04 AM (7 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33100557
Default Alt Text
D50865.id157258.diff (613 B)
Attached To
Mode
D50865: growfs: use gpart instead of bsdlabel in test
Attached
Detach File
Event Timeline
Log In to Comment