summaryrefslogtreecommitdiffstats
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
parent4e3c73e5376bda898a6c6c9bbcc79029cf3feef8 (diff)
downloaddrakx-backup-do-not-use-12b2fa108df759f0a066712b1e266f145fbd7335.tar
drakx-backup-do-not-use-12b2fa108df759f0a066712b1e266f145fbd7335.tar.gz
drakx-backup-do-not-use-12b2fa108df759f0a066712b1e266f145fbd7335.tar.bz2
drakx-backup-do-not-use-12b2fa108df759f0a066712b1e266f145fbd7335.tar.xz
drakx-backup-do-not-use-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)
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/diskdrake/interactive.pm2
-rw-r--r--perl-install/install/NEWS2
3 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 6e199f93c..6bd3369e2 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -6,6 +6,7 @@
o request to attach lspcidrake's output rather than include it
(smaller descriptions)
- diskdrake:
+ o disable resizing ext4 since resize2fs is known to be broken regarding extents
o --smb: fix netbios name resolution (#42483, thanks to Derek Jennings)
- scannerdrake:
o fix a crash when installing firmware (#40738)
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}))) {
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 9c17ae701..23500c264 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- disable resizing ext4 since resize2fs is known to be broken regarding extents
+
Version 11.78 - 15 January 2008
- alpha2 logo