4
edits
Changes
→Introduction: static /dev
==== Introduction: static /dev ====
In order for VE to work, some nodes should be present in VE's /dev. For modern distributions, udev is taking care of it. For a variety of reasons udev doesn't make much sense in a VE, so the best thing to do is to disable udev and create needed device nodes manually.
Please pay attention to the access permissions of the created files: there is the default file system mode for newly created files which provides by umask ( See: http://en.wikipedia.org/wiki/Umask ). You can use --mode option for mknod to set the desired permissions.
Note that in some distributions <code>/dev</code> is mounted on tmpfs — this will not work in case of static /dev. So what you need to do is find out where <code>/dev</code> is being mounted on tmpfs and remove this. This is highly distribution-dependent; please add info for your distro here.