[Devel] [Q] migrating inotify assigned on ploop device

Cyrill Gorcunov gorcunov at virtuozzo.com
Wed Jan 13 08:46:38 PST 2016


On Wed, Jan 13, 2016 at 07:40:55PM +0300, Igor wrote:
> On 01/13/2016 07:25 PM, Cyrill Gorcunov wrote:
> >On Wed, Jan 13, 2016 at 07:14:18PM +0400, Nikita Spiridonov wrote:
> >>Lets try to fix bug using workaround in libvzctl and criu hooks. Images
> >>recoding/patching too hard to implement for now; we can return to it
> >>later.
> >Which exactly workaround you mean, could you please share details?
> on criu 'setup-namspeces' stage update minor for pld ploop to new one
> 
> suspend:
> /dev/ploop1 182:1
> 
> restore:
> /dev/ploop2 182:2
> 
> rm /dev/ploop1
> mknod /dev/ploop1 b 182:2

I don't get it. What's the profit of changing the minor?
We need the name of ploop to be immutable if we're not
going to update images. Igor, what I'm missing?


More information about the Devel mailing list