summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake/interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-03-02 11:36:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-03-02 11:36:03 +0000
commitf78cc6a30fe8c22920445eceafdeaad926b08589 (patch)
treeb3ec5300a287b0b1496af4daad81a4fdc36b2106 /perl-install/diskdrake/interactive.pm
parent9457bb8983117960600190a257dc033497e2ca70 (diff)
downloaddrakx-backup-do-not-use-f78cc6a30fe8c22920445eceafdeaad926b08589.tar
drakx-backup-do-not-use-f78cc6a30fe8c22920445eceafdeaad926b08589.tar.gz
drakx-backup-do-not-use-f78cc6a30fe8c22920445eceafdeaad926b08589.tar.bz2
drakx-backup-do-not-use-f78cc6a30fe8c22920445eceafdeaad926b08589.tar.xz
drakx-backup-do-not-use-f78cc6a30fe8c22920445eceafdeaad926b08589.zip
(Resize): ensure we call lv_resize from lvm and adjust_* for normal partitions, even for destructive resizes
Diffstat (limited to 'perl-install/diskdrake/interactive.pm')
-rw-r--r--perl-install/diskdrake/interactive.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index ba53acf62..b4072ec4a 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -652,13 +652,15 @@ sub Resize {
system "resize_reiserfs", "-f", "-q", "-s" . $part->{size}/2 . "K", devices::make($part->{device});
} elsif ($nice_resize{xfs}) {
system "xfs_growfs", $part->{mntpoint};
+ }
+
+ if (%nice_resize) {
+ $part->{isFormatted} = 1;
} else {
$part->{notFormatted} = 1;
$part->{isFormatted} = 0;
partition_table::verifyParts($hd);
- return;
}
- $part->{isFormatted} = 1;
if (isLVM($hd)) {
lvm::lv_resize($part, $oldsize) if $size < $oldsize;