Commit 07c434b1 authored by Dietmar Maurer's avatar Dietmar Maurer

do not write /etc/mtab when mounting snapshots

parent d6f684d3
......@@ -197,7 +197,7 @@ sub snapshot {
$task->{cleanup}->{snapshot_mount} = 1;
$self->cmd ("mount -t $di->{fstype} $mopts $di->{snapdev} $di->{mountpoint}");
$self->cmd ("mount -n -t $di->{fstype} $mopts $di->{snapdev} $di->{mountpoint}");
}
sub copy_data_phase2 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment