summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2009-04-03 15:26:07 +0000
committertv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2009-04-03 15:26:07 +0000
commitb6f36d8f3aa4ce59b3bd5d3587cc51fa590c1e30 (patch)
tree6454d49cb0b15c8795a2543e09c67a12003573ae
parent9a81229eeed4f26fb73a24d325c750becc04a522 (diff)
downloaddraksnapshot-b6f36d8f3aa4ce59b3bd5d3587cc51fa590c1e30.tar
draksnapshot-b6f36d8f3aa4ce59b3bd5d3587cc51fa590c1e30.tar.gz
draksnapshot-b6f36d8f3aa4ce59b3bd5d3587cc51fa590c1e30.tar.bz2
draksnapshot-b6f36d8f3aa4ce59b3bd5d3587cc51fa590c1e30.tar.xz
draksnapshot-b6f36d8f3aa4ce59b3bd5d3587cc51fa590c1e30.zip
(configure) do not try to mount '/'
git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@255442 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
-rw-r--r--NEWS3
-rw-r--r--lib/MDV/Snapshot/Restore.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 3391817..9bc4d26 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- draksnapshot-restore
+ o do not try to mount '/'
+
Version 0.19.2 - 30 March 2009, Thierry Vignaud
- fix build due to fi translations
diff --git a/lib/MDV/Snapshot/Restore.pm b/lib/MDV/Snapshot/Restore.pm
index 93e1ffd..5f616c3 100644
--- a/lib/MDV/Snapshot/Restore.pm
+++ b/lib/MDV/Snapshot/Restore.pm
@@ -143,7 +143,7 @@ sub mount_all {
my @errs;
foreach my $part (sort { $a->{mntpoint} cmp $b->{mntpoint} }
- grep { $_->{mntpoint} && maybeFormatted($_) && $_->{device} ne 'none'
+ grep { $_->{mntpoint} && $_->{mntpoint} ne '/' && maybeFormatted($_) && $_->{device} ne 'none'
&& !member($_->{fs_type}, 'swap', 'nfs', if_($::isInstall, 'ntfs'));
}
@$fstab) {