[pve-devel] [PATCH v2 pve-container 2/4] add support to add mountpoints with pct set

Dietmar Maurer dietmar at proxmox.com
Thu Sep 10 11:38:35 CEST 2015


what is the purpose of that mount_all/umount all sequence?

> +
> +    if (@$new_disks) {
> +	my $storage_cfg = PVE::Storage::config();
> +	PVE::API2::LXC::create_disks($storage_cfg, $vmid, $conf, $conf);
> +	mount_all($vmid, $storage_cfg, $conf, $new_disks, 1);
> +	umount_all($vmid, $storage_cfg, $conf, 0);
> +    }
>  }



More information about the pve-devel mailing list