summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake/interactive.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-02-16 13:46:23 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-02-16 13:46:23 +0000
commit446a14975d5e40a4092b406a6e3d9fa834e9a616 (patch)
treef97da71c3fc544cb6163c47410df91771c988263 /perl-install/diskdrake/interactive.pm
parent5470576f181cca9d37bd314028d90cb30b040589 (diff)
downloaddrakx-backup-do-not-use-446a14975d5e40a4092b406a6e3d9fa834e9a616.tar
drakx-backup-do-not-use-446a14975d5e40a4092b406a6e3d9fa834e9a616.tar.gz
drakx-backup-do-not-use-446a14975d5e40a4092b406a6e3d9fa834e9a616.tar.bz2
drakx-backup-do-not-use-446a14975d5e40a4092b406a6e3d9fa834e9a616.tar.xz
drakx-backup-do-not-use-446a14975d5e40a4092b406a6e3d9fa834e9a616.zip
don't offer to format LVM
Diffstat (limited to 'perl-install/diskdrake/interactive.pm')
-rw-r--r--perl-install/diskdrake/interactive.pm2
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',