diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2009-04-15 10:11:43 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2009-04-15 10:11:43 +0000 |
commit | 30db5b5924b0a854c233aad424107d56562a91e1 (patch) | |
tree | 3b4c8d28032c710eb7d1053ba17f4c2a5dfd5880 /perl-install | |
parent | 1e87875275f165ac372670110bd8db6de03a4c58 (diff) | |
download | drakx-30db5b5924b0a854c233aad424107d56562a91e1.tar drakx-30db5b5924b0a854c233aad424107d56562a91e1.tar.gz drakx-30db5b5924b0a854c233aad424107d56562a91e1.tar.bz2 drakx-30db5b5924b0a854c233aad424107d56562a91e1.tar.xz drakx-30db5b5924b0a854c233aad424107d56562a91e1.zip |
display an error when mount fails during View action
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/diskdrake/interactive.pm | 6 | ||||
-rw-r--r-- | perl-install/install/NEWS | 1 |
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 |