how to create a device node in sysfs?
hi
I tried to make a device node of a device driver i have written in the /dev directory using the 'mknod' command
here it automatically creates an entry in the proc filesystem but does not create an entry in the sys filesystem.
but creating device entires in the /dev directory has a limitation that we can create a total of only 256 devices.
So now i want to create the device node in the sys filesystem instead of creating it in the /dev directory, since here we can create unlimited no of devices.
can any body tell me what is the method to do it?
|