summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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