Linux : Major and Minor device numbers

deviceslinux

What types of devices fall under the major device number category and what types of devices fall under the minor device number category. What is the real difference between the two categories?

Best Answer

All devices have a major, minor number pair. The major number is a larger, more generic category (e.g. hard disks, input/output devices etc...) while the minor number is more specific (i.e. tells what bus the device is connected to).

Check the kernel documentation for more examples.

Related Question