diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2009-02-13 13:58:18 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2009-02-13 13:58:18 +0000 |
commit | cb57100088e9f741c80d7eca8caa377af79460dd (patch) | |
tree | d5156edf6b0c66e57d2899b8f3713a5892bb5373 /perl-install/diskdrake | |
parent | 451a8bcd5311b06cacb1c009b3068e6312dae540 (diff) | |
download | drakx-cb57100088e9f741c80d7eca8caa377af79460dd.tar drakx-cb57100088e9f741c80d7eca8caa377af79460dd.tar.gz drakx-cb57100088e9f741c80d7eca8caa377af79460dd.tar.bz2 drakx-cb57100088e9f741c80d7eca8caa377af79460dd.tar.xz drakx-cb57100088e9f741c80d7eca8caa377af79460dd.zip |
diskdrake: allow resizing on lvm for mounted ext3/4 and not mounted xfs
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r-- | perl-install/diskdrake/interactive.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm index c68c9a25b..a0d912ec3 100644 --- a/perl-install/diskdrake/interactive.pm +++ b/perl-install/diskdrake/interactive.pm @@ -421,7 +421,7 @@ sub part_possible_actions { my %macros = ( readonly => '$hd->{readonly}', hasMntpoint => '$part->{mntpoint}', - LVM_resizable => '$part->{fs_type} eq "reiserfs" || (isMounted ? $part->{fs_type} eq "xfs" : member($part->{fs_type}, qw(ext3 ext4)))', + LVM_resizable => 'member($part->{fs_type}, qw(reiserfs xfs ext3 ext4))', canModifyRAID => 'isPartOfRAID($part) && !isMounted(fs::get::device2part($part->{raid}, $all_hds->{raids}))', ); if (isEmpty($part)) { |