[pve-devel] [PATCH container] Remove mknod call from pre-start hook

Wolfgang Bumiller w.bumiller at proxmox.com
Thu Feb 4 19:55:59 CET 2016


> On February 4, 2016 at 4:41 PM Dietmar Maurer <dietmar at proxmox.com> wrote:
> 
> 
> I thought that code is required to make volume resize happy?

If you mean `pct resize` then no, since it doesn't care about the
guest's /dev, after all it has to work on stopped containers, too.

Although we might want to keep the write_cgroup_value() call in
order to give the guest direct access to the device, but exposing
the device node to the guest via its /dev does not work anymore
with lxc.autodev=1 overmounting /dev with a new tmpfs.




More information about the pve-devel mailing list