>>Sure, yes. What problem do you want to solve? no special problem, just remove a file write at each start
BTW, I have read the new code, I don't have tested it yet, but if ($scfg->{type} eq 'dir' || $scfg->{type} eq 'nfs') { + if ($size > 0) { + $volid = PVE::Storage::vdisk_alloc($storage_conf, $storage, $vmid, 'raw', + "vm-$vmid-rootfs.raw", $size); + } else { + $volid = PVE::Storage::vdisk_alloc($storage_conf, $storage, $vmid, 'subvol', + "subvol-$vmid-rootfs", 0); + } I think this is wrong for $size == 0 ? (subvol is related to zfs right ?) ----- Mail original ----- De: "dietmar" <diet...@proxmox.com> À: "aderumier" <aderum...@odiso.com> Cc: "pve-devel" <pve-devel@pve.proxmox.com> Envoyé: Jeudi 6 Août 2015 15:18:52 Objet: Re: [pve-devel] use our own format for LXC containers > Do you still write the config file at lxc format for lxc-start ? > (maybe on each ct start ?) Sure, yes. What problem do you want to solve? _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel