I installed my device driver using mknod and operating system assigned a major number for it. (Saw 236 in /proc/devices)

But when i restart the machine and check the /proc/devices again i saw that the device major number changed to 242 but it is still 236 in /dev/myDevice.

Why major number changed after restart ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.