diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-03-02 11:36:03 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-03-02 11:36:03 +0000 |
commit | f78cc6a30fe8c22920445eceafdeaad926b08589 (patch) | |
tree | b3ec5300a287b0b1496af4daad81a4fdc36b2106 /perl-install | |
parent | 9457bb8983117960600190a257dc033497e2ca70 (diff) | |
download | drakx-f78cc6a30fe8c22920445eceafdeaad926b08589.tar drakx-f78cc6a30fe8c22920445eceafdeaad926b08589.tar.gz drakx-f78cc6a30fe8c22920445eceafdeaad926b08589.tar.bz2 drakx-f78cc6a30fe8c22920445eceafdeaad926b08589.tar.xz drakx-f78cc6a30fe8c22920445eceafdeaad926b08589.zip |
(Resize): ensure we call lv_resize from lvm and adjust_* for normal partitions, even for destructive resizes
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/diskdrake/interactive.pm | 6 |
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; |