>>yes, I see that, could be used to mount an encryptet rootfs. >>I'll do tests.
I have done a lot of tests, I'm unable to do it in pre-mount hook. If I mount the root manually, I have error after when lxc try to mount rootfs. and I need the root, to mount others mountpoints. So, the mount hook seem to be the good place to do it. If you don't have to do it in lxcsetup::base, I can manage mountpoints before, directly in the hook script for example. ----- Mail original ----- De: "aderumier" <aderum...@odiso.com> À: "dietmar" <diet...@proxmox.com> Cc: "pve-devel" <pve-devel@pve.proxmox.com> Envoyé: Lundi 17 Août 2015 10:58:29 Objet: Re: [pve-devel] [PATCH 9/9] mount hook : mount blockdevs >>Maybe there is a way to avoid that. man lxc.container.conf mentions >>that it can be used for "for manipulation of the rootfs" yes, I see that, could be used to mount an encryptet rootfs. I'll do tests. ----- Mail original ----- De: "dietmar" <diet...@proxmox.com> À: "aderumier" <aderum...@odiso.com> Cc: "pve-devel" <pve-devel@pve.proxmox.com> Envoyé: Lundi 17 Août 2015 10:56:21 Objet: Re: [pve-devel] [PATCH 9/9] mount hook : mount blockdevs > I can try, but I'm not sure if lxc will not thrown error after, as it'll try > to mount the rootfs again. Maybe there is a way to avoid that. man lxc.container.conf mentions that it can be used for "for manipulation of the rootfs" _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel