Why the number of minor devices are not listed here in this program in /dev?
问题 I want to create the number of minor character drivers for my module. I want to see it at the /dev/ . However, I see only one driver. What is the problem in my code? What should be the right code? #include <linux/init.h> #include <linux/module.h> /** needed by all modules **/ #include <linux/kernel.h> /** This is for KERN_ALERT **/ #include <linux/fs.h> /** for file operations **/ #include <linux/cdev.h> /** character device **/ #include <linux/device.h> /** for sys device registration in