do not write /etc/mtab when mounting snapshots

This commit is contained in:
Dietmar Maurer
2012-02-07 10:39:15 +01:00
parent d6f684d3e3
commit 07c434b15c

View File

@ -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 {