what is major number and what is minor number..?

Answers were Sorted based on User's Feedback



what is major number and what is minor number..?..

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

what is major number and what is minor number..?..

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

what is major number and what is minor number..?..

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

Post New Answer

More Solaris AllOther Interview Questions

explain Jumpstat configuration..?

2 Answers   Accenture,


If you can ping a server, but can't telnet or ssh to it, what could be the problem?

7 Answers  


Are kernel parameters tunable during runtime?

2 Answers  


what file shows all available ports?

1 Answers  


I AM MR SAGAR HAVING SUN SOLARIS 10, I AM NOT ABLE TO BROWSE THE INTERNET... I AM NOT HAVING NETWORK DRIVER WHICH SUPPORT SUN SOLARIS 10. I AM HAVING RTL 8111B GB LAN .BUT I AM HAVING RT8111B GB LAN DRIVERS WHICH SUPPORT XP,VISTA,UNIX,LINUX ...BUT IT NOT SUPPORTING FOR SUN SOLARIS 10 ...PLEASE GIVE A DETAILS FOR HAVING DRIVER AND HOW TO ACTIVATE THE NETWORK TO BROWSE THE INTERNET THROUGH SUN SOLARIS 10 THROUGH MOZILLA FIRE FOX ....MY E_MAIL ADDRESS IS \r\nsagar_nithin@yahoo.com

1 Answers  






What is the config file in DNS?

2 Answers  


how to add a disk group in veritas from one system to another system?

2 Answers   TCS,


benifits of SMF over LRC

1 Answers  


which is the fast SPARC or Intel ? and why?

3 Answers   IBM,


How will u give a write permission to user inthe group when all other users in that group have only read permission.?

1 Answers  


what is the major problem u faced in u r carrier or in u r present company

1 Answers   IBM,


Which cluster is better VCS or Sun cluster?

2 Answers  


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)