diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | lib/MDV/Snapshot/Restore.pm | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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) { |