Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-22-2006, 11:29 AM   #1
Registered: May 2006
Posts: 39

Rep: Reputation: 15
special device node minor and major numbers

What are the major and minor numbers on a special block or character file?
Old 06-22-2006, 12:17 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,986
Blog Entries: 14

Rep: Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187
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)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where can i find major and minor numbers yugandhar Linux - Software 1 06-02-2006 03:30 AM
why i cant get man major() or minor() henryluo Programming 5 06-27-2005 02:39 AM
how to create device node for dynamically allocated major number appas Programming 5 11-01-2004 09:37 AM
Mouse mknod major/minor numbers? BlurredWeasel Linux - Hardware 2 11-06-2003 02:22 PM
devfs max major/minor numbers devershetty Linux - Newbie 1 06-17-2003 09:37 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration