I am attempting to develop Linux device drivers and as my first attempt I am trying to develop a char device driver that has the following file options,
st
I could see entries within /dev after creating node by running following command at console.
sudo mknod -m 0666 /dev/msio c 22 0
The user was not root, so I had to use sudo. My entry name was msio, a character device with major and minor number 22, 0 respectively.
I will let you know if this can be achieved programatically.