From b6f36d8f3aa4ce59b3bd5d3587cc51fa590c1e30 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 3 Apr 2009 15:26:07 +0000 Subject: (configure) do not try to mount '/' git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@255442 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94 --- lib/MDV/Snapshot/Restore.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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) { -- cgit v1.2.1