what is major number and what is minor number..?
Answers were Sorted based on User's Feedback
Answer / t.k.chaitanya
major number maps to the device drivers(ex: printer , cd
rom,screen)
minor number maps to the specific device
| Is This Answer Correct ? | 11 Yes | 2 No |
Answer / daves
The major number identifies the device driver that owns the
device. The major number is mapped to its driver in the
/etc/name_to_major file.
The minor number identifies which driver device instance is
being managed. Each driver has its own numbering convention.
For example, disks are numbered as ((instance # * 8) + slice
#). Others may be numbered sequentially or as the driver
author felt like it.
You can see exactly which driver owns a device in the
/etc/path_to_inst file or sysdef -dD command, among other
places.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / vijay
The driver knows the minor number of a particular device..
For example, the major number of pts is 136..
Assume, we have three pts.. So, the major and minor number
will be as follows..
Device Major number Minor number
pts/0 -> 136 0
pts/1 -> 136 1
pts/2 -> 136 2
Whereas, the Kernel identfies the device using the major
number..
| Is This Answer Correct ? | 2 Yes | 2 No |
how to check the status of import and deport dg?
What is the difference between Vxdmp and EMC powerpath?
why u can't go for windows& why u chosen UNIX
when i am starting solaris10 with 'fail safe mode' on intel machine it is asking "#starting shell".what is it and how to solve this problem?
how to make processor online and offline
when i am starting solaris10 with 'fail safe mode' on intel machine it is asking "#starting shell".what is it and how to solve this problem?
how can u create aggregate
Important daemons for zones
what is mean by netfmd in sun cluster what is the use of netfmd and what is the relation between ccd and netfmd?
For maintenance purpose the system will be down and up as per weekly or monthly in production mode ,what are the needed points to mind ,what are that?
what r the configuration files for SAMBA and how can u configure samba on network with windows machines
what r the files need to edit for DNS configuration..?