<p>Hello,</p>
<p>I&#39;m trying to create a device node in the generated rootfs image: /dev/net/tun. It is required for openvpn to work. Adding it in the living system is as trivial as &quot;mkdir /dev/net; mknod /dev/net/tun c 10 200&quot;, but I want it to be there with no manual intrusion required.</p>

<p>I tried several ways:</p>
<p>* IMAGE_DEVICE_TABLES<br>
* IMAGE_DEVICE_TABLE<br>
* adding /dev/net/tun file to the package<br>
* adding a node file to the IMAGE_ROOTFS in rootfs postprocess script<br>
* using postinst script that creates the node</p>
<p>None of it worked.</p>
<p>What is the way /dev is populated? Where do all those 256 (why so many btw?) pty* nodes come from? How do I create the new node?</p>
<p>Thanks!</p>
<p>--<br>
Anton</p>