[pve-devel] [PATCH 9/9] mount hook : mount blockdevs

Alexandre DERUMIER aderumier at odiso.com
Mon Aug 17 10:44:19 CEST 2015


>>Maybe we should also mount rootfs there? I mean, we do it for all other
>>mountpoint, so why not for rootfs?

I can try, but I'm not sure if lxc will not thrown error after, as it'll try to mount the rootfs again.



----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "aderumier" <aderumier at odiso.com>
Cc: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Lundi 17 Août 2015 10:40:48
Objet: Re: [pve-devel] [PATCH 9/9] mount hook : mount blockdevs

> >>Not sure if we should mix that into the LXSetup code. Maybe it is better to 
> >>use 
> >>the lxc.hook.pre-mount hook? (see man lxc.container.conf) 
> 
> AFAIK, the rootfs is not yet mounted in pre-mount hook. 
> So I can't mount other mountpoints. 

Maybe we should also mount rootfs there? I mean, we do it for all other 
mountpoint, so why not for rootfs? 



More information about the pve-devel mailing list