summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-04-15 10:11:43 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-04-15 10:11:43 +0000
commit30db5b5924b0a854c233aad424107d56562a91e1 (patch)
tree3b4c8d28032c710eb7d1053ba17f4c2a5dfd5880
parent1e87875275f165ac372670110bd8db6de03a4c58 (diff)
downloaddrakx-backup-do-not-use-30db5b5924b0a854c233aad424107d56562a91e1.tar
drakx-backup-do-not-use-30db5b5924b0a854c233aad424107d56562a91e1.tar.gz
drakx-backup-do-not-use-30db5b5924b0a854c233aad424107d56562a91e1.tar.bz2
drakx-backup-do-not-use-30db5b5924b0a854c233aad424107d56562a91e1.tar.xz
drakx-backup-do-not-use-30db5b5924b0a854c233aad424107d56562a91e1.zip
display an error when mount fails during View action
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/diskdrake/interactive.pm6
-rw-r--r--perl-install/install/NEWS1
3 files changed, 7 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 6b021dadc..d4b1880c6 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,5 +1,6 @@
- diskdrake:
o handle md devices not called md\d+, like md_d127
+ o display an error when mount fails during View action
Version 12.27 - 14 April 2009
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index 3f2570949..e8a7a2f06 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -444,7 +444,11 @@ sub part_possible_actions {
sub View {
my ($in, $hd, $part, $all_hds) = @_;
my $handle = any::inspect($part, $::prefix);
- $in->ask_directory({'directory'=>$handle->{dir}});
+ if ($handle) {
+ $in->ask_warn(N("Error"), N("Failed to mount partition"));
+ } else {
+ $in->ask_directory({'directory'=>$handle->{dir}});
+ }
}
#- in case someone use diskdrake only to create partitions,
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index c12f89074..e53c01708 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,5 +1,6 @@
- include mount.ntfs-3g in install and rescue
- add various command to rescue
+- display an error when mount fails during View action
Version 12.27 - 14 April 2009