LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   special device node minor and major numbers (https://www.linuxquestions.org/questions/linux-general-1/special-device-node-minor-and-major-numbers-457293/)

crash88 06-22-2006 11:29 AM

special device node minor and major numbers
 
What are the major and minor numbers on a special block or character file?

MensaWater 06-22-2006 12:17 PM

Major typically indicates which driver the device uses. This is typically somewhat arbitrary and has a lot to do with the order in which the devices were added to the system.

Minor is the way devices are subset within the driver and varies by the type of device. They can be as simple as order (01, 02, 03, 04) or have complex meanings (e.g. Serial ports minors in a certain range might mean "software flow control" indicating they're used for terminals or "hardware flow control" indicating they're used for modems)


All times are GMT -5. The time now is 10:28 AM.