How to populate /dev with a custom directory with udev
问题 For using gadgetfs I have to mount the gadgetfs filesystem to the mount point /dev/gadget . But because /dev is controlled by udev a manually created directory gets lost on each reboot. Sure, I could create the directory in some init.d-Skript but a more clean solution would be to configure udev to automatically create this directory. I'm pretty sure this must be possible somehow because there are lots of other directories in there already. So how can I configure udev to create a /dev/gadget