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
commit99b7dd01b07b200032e05324aaf7d46ceaafa706 (patch)
tree480563220ffdd55676353d26fc7fac7857f33bc3 /perl-install/diskdrake
parentb641bc87c4e75ca0c21774e67c65f84bfa949dd8 (diff)
downloaddrakx-backup-do-not-use-99b7dd01b07b200032e05324aaf7d46ceaafa706.tar
drakx-backup-do-not-use-99b7dd01b07b200032e05324aaf7d46ceaafa706.tar.gz
drakx-backup-do-not-use-99b7dd01b07b200032e05324aaf7d46ceaafa706.tar.bz2
drakx-backup-do-not-use-99b7dd01b07b200032e05324aaf7d46ceaafa706.tar.xz
drakx-backup-do-not-use-99b7dd01b07b200032e05324aaf7d46ceaafa706.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 {