LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 06-22-2006, 11:29 AM   #1
crash88
Member
 
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
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,766
Blog Entries: 4

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


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


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

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