summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake/interactive.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-01-16 16:51:06 +0000
committerThierry Vignaud <tv@mandriva.org>2009-01-16 16:51:06 +0000
commit12b2fa108df759f0a066712b1e266f145fbd7335 (patch)
tree05749622bdaf46c1d987e7ebe77bd4ee1475a1fe /perl-install/diskdrake/interactive.pm
parent4e3c73e5376bda898a6c6c9bbcc79029cf3feef8 (diff)
downloaddrakx-12b2fa108df759f0a066712b1e266f145fbd7335.tar
drakx-12b2fa108df759f0a066712b1e266f145fbd7335.tar.gz
drakx-12b2fa108df759f0a066712b1e266f145fbd7335.tar.bz2
drakx-12b2fa108df759f0a066712b1e266f145fbd7335.tar.xz
drakx-12b2fa108df759f0a066712b1e266f145fbd7335.zip
(Resize) disable resizing ext4 since resize2fs is known to be broken regarding extents
(see "extent header problems following shrink with resize2fs" on linux-ext4@vger.kernel.org)
Diffstat (limited to 'perl-install/diskdrake/interactive.pm')
-rw-r--r--perl-install/diskdrake/interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index 1cac2446e..57c2e33ef 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -695,7 +695,7 @@ sub Resize {
$nice_resize{fat} = resize_fat::main->new($part->{device}, devices::make($part->{device}));
$min = max($min, $nice_resize{fat}->min_size);
$max = min($max, $nice_resize{fat}->max_size);
- } elsif (member($part->{fs_type}, qw(ext2 ext3 ext4))) {
+ } elsif (member($part->{fs_type}, qw(ext2 ext3))) { # resize2fs is known to be broken regarding extents with ext4
write_partitions($in, $hd) or return;
require diskdrake::resize_ext2;
if ($nice_resize{ext2} = diskdrake::resize_ext2->new($part->{device}, devices::make($part->{device}))) {