[lxc-devel] Questions about lxc.autodev
Serge Hallyn
serge.hallyn at ubuntu.com
Fri Jan 9 17:08:45 UTC 2015
Quoting Serge Hallyn (serge.hallyn at ubuntu.com):
> Another advantage of the current method is that the host can see
> the container's /dev more easily. Though I htink the existence
> of lxc-device suggests that we're ok. I mainly don't want to do
> anything that makes it harder for our eventual implementation of
> forwarding hotplug events into containers (as per the presentation
> at plumbers)
This wouldn't help with hotplug, but perhaps we should check for
$lxcpath/$name/keepdev, and if it exists then copy of bind-mount
any devices which exist there into $lxcpath/$name/dev (if autodev!=0)
More information about the lxc-devel
mailing list