diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-11-19 09:43:30 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-11-19 09:43:30 +0000 |
commit | 829760ee896dfda91ed493750edc43aa069ce5c8 (patch) | |
tree | 593d6719e2f636c0c15a22f68c426ecb6fefbc8a /perl-install/diskdrake | |
parent | 333b1b8d5393390536b70dc6e4ab31c8fdceb46e (diff) | |
download | drakx-829760ee896dfda91ed493750edc43aa069ce5c8.tar drakx-829760ee896dfda91ed493750edc43aa069ce5c8.tar.gz drakx-829760ee896dfda91ed493750edc43aa069ce5c8.tar.bz2 drakx-829760ee896dfda91ed493750edc43aa069ce5c8.tar.xz drakx-829760ee896dfda91ed493750edc43aa069ce5c8.zip |
- diskdrake:
o disallow "Use for loopback" when the partition used for loopback is
not formatted (#35535)
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 a96b9e0e0..e5c79a8a7 100644 --- a/perl-install/diskdrake/interactive.pm +++ b/perl-install/diskdrake/interactive.pm @@ -436,7 +436,7 @@ sub part_possible_actions { N_("Remove from RAID") => 'isPartOfRAID', N_("Remove from LVM") => 'isPartOfLVM', N_("Modify RAID") => 'canModifyRAID', - N_("Use for loopback") => '!$part->{real_mntpoint} && isMountableRW && !isSpecial && hasMntpoint && $::expert', + N_("Use for loopback") => '!$part->{real_mntpoint} && isMountableRW && !isSpecial && hasMntpoint && maybeFormatted && $::expert', ); my ($actions_names) = list2kv(@l); my $_all_hds = $all_hds; #- help perl_checker know the $all_hds *is* used in the macro below |