mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-07-09 11:02:53 +00:00
do not write /etc/mtab when mounting snapshots
This commit is contained in:
parent
fad02a160f
commit
efb71b0f8c
@ -306,7 +306,7 @@ sub snapshot {
|
||||
|
||||
$di->{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}");
|
||||
|
||||
$mounts->{$di->{mountpoint}} = 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user