commit | 1f4c1f594687be2c0dab2970f5b6c7da697883c8 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Wed Apr 09 11:52:57 2008 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed Apr 09 11:52:57 2008 +0400 |
tree | 916a3ab79ceb66fe5ee3e93394bf5c6b9555f1ff | |
parent | b12885767d14762b793531593dde872dde778709 [diff] |
Support for udev static devices in container When a device access is granted to a container, we create an appropriate device file in container's /dev. The problem is /dev can be under tmpfs and managed by udev, so device file disappears after container reboot. The solution is to put the device file in /lib/udev/devices (or /etc/udev/devices if previous doesn't exist). From there it will be copied to new /dev on system boot. Signed-off-by: Kir Kolyshkin <kir@openvz.org>