summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-10-11 12:19:16 +0000
committerThierry Vignaud <tv@mageia.org>2012-10-11 12:19:16 +0000
commit993f9b1a28761e7e137cea4ae21d5263f0ded007 (patch)
tree480563220ffdd55676353d26fc7fac7857f33bc3 /perl-install/diskdrake
parent8855fcd5ca1148df8b5c27e100cdb3bf434be7ed (diff)
downloaddrakx-993f9b1a28761e7e137cea4ae21d5263f0ded007.tar
drakx-993f9b1a28761e7e137cea4ae21d5263f0ded007.tar.gz
drakx-993f9b1a28761e7e137cea4ae21d5263f0ded007.tar.bz2
drakx-993f9b1a28761e7e137cea4ae21d5263f0ded007.tar.xz
drakx-993f9b1a28761e7e137cea4ae21d5263f0ded007.zip
(min_size) offer resizing NTFS again (broken by ntfsprogs -> ntfs-3g switch)
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/resize_ntfs.pm2
1 files changed, 1 insertions, 1 deletions
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 {