From 99b7dd01b07b200032e05324aaf7d46ceaafa706 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 11 Oct 2012 12:19:16 +0000 Subject: (min_size) offer resizing NTFS again (broken by ntfsprogs -> ntfs-3g switch) --- perl-install/diskdrake/resize_ntfs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/diskdrake') diff --git a/perl-install/diskdrake/resize_ntfs.pm b/perl-install/diskdrake/resize_ntfs.pm index 16c2f9459..8fb6e0da6 100644 --- a/perl-install/diskdrake/resize_ntfs.pm +++ b/perl-install/diskdrake/resize_ntfs.pm @@ -22,7 +22,7 @@ sub min_size { my ($o) = @_; my $r; run_program::run('ntfsresize', '>', \$r, '-f', '-i', $o->{dev}) or die "ntfsresize failed:\n$r\n"; - $r =~ /minimal size: (\d+) KiB/ && $1 * 2; + $r =~ /You might resize at (\d+) bytes or / && $1 / 512; } sub resize { -- cgit v1.2.1