diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2009-02-16 13:46:23 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2009-02-16 13:46:23 +0000 |
commit | 446a14975d5e40a4092b406a6e3d9fa834e9a616 (patch) | |
tree | f97da71c3fc544cb6163c47410df91771c988263 /perl-install/diskdrake/interactive.pm | |
parent | 5470576f181cca9d37bd314028d90cb30b040589 (diff) | |
download | drakx-446a14975d5e40a4092b406a6e3d9fa834e9a616.tar drakx-446a14975d5e40a4092b406a6e3d9fa834e9a616.tar.gz drakx-446a14975d5e40a4092b406a6e3d9fa834e9a616.tar.bz2 drakx-446a14975d5e40a4092b406a6e3d9fa834e9a616.tar.xz drakx-446a14975d5e40a4092b406a6e3d9fa834e9a616.zip |
don't offer to format LVM
Diffstat (limited to 'perl-install/diskdrake/interactive.pm')
-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 c86de51d3..b899a2038 100644 --- a/perl-install/diskdrake/interactive.pm +++ b/perl-install/diskdrake/interactive.pm @@ -403,7 +403,7 @@ sub part_possible_actions { N_("Options") => '!isSwap($part) && !isNonMountable && $::expert', N_("Label") => '!isNonMountable && $::expert && fs::format::canEditLabel($part)', N_("Resize") => '!isBusy && !readonly && !isSpecial || isLVM($hd) && LVM_resizable', - N_("Format") => '!isBusy && (!readonly && ($::expert || $::isStandalone) || fs::type::isRawLUKS($part))', + N_("Format") => '!isBusy && !isRawLVM && !isPartOfLVM && (!readonly && ($::expert || $::isStandalone) || fs::type::isRawLUKS($part))', N_("Mount") => '!isBusy && (hasMntpoint || isSwap) && maybeFormatted && ($::expert || $::isStandalone)', N_("Add to RAID") => '!isBusy && isRawRAID && (!isSpecial || isRAID)', N_("Add to LVM") => '!isBusy && isRawLVM', |