diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-10-11 12:19:16 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-10-11 12:19:16 +0000 |
commit | 99b7dd01b07b200032e05324aaf7d46ceaafa706 (patch) | |
tree | 480563220ffdd55676353d26fc7fac7857f33bc3 /perl-install/diskdrake | |
parent | b641bc87c4e75ca0c21774e67c65f84bfa949dd8 (diff) | |
download | drakx-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.pm | 2 |
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 { |