nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Solaris

This is a discussion on Solaris within the Solaris/OpenSolaris forums, part of the UNIX operating systems category; What is Major Number & Minor Number? What's its significance? I know ls -lL gives these numbers. Plz explain....


Go Back   nixCraft Linux Forum > UNIX operating systems > Solaris/OpenSolaris

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 05-04-2005, 07:35 AM
Junior Member
User
 
Join Date: May 2005
Posts: 6
Rep Power: 0
p_narahari
Default Solaris

What is Major Number & Minor Number? What's its significance?
I know ls -lL gives these numbers. Plz explain.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-04-2005, 05:59 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

Major Number & Minor Numbers used by hardware devices under both Linux and UNIX. Generally stored in /dev/ directory these are files and not actual device driver (they are in kernel itself or as module)

Basically Major Number & Minor Numbers are pointers for devices which give idea about that device.

Major number is use to call driver and Minor number represents which device you want to use. For example IDE driver can be use to access two IDE hard disk connected at different IDE0 and IDE1 so minor number use to determine which drive you would like to use.

For example
IDE Major number 3 and minor number 0 represent 1st IDE hard disk
IDE Major number 3 and minor number 1 represent 2ndt IDE hard disk

Remember a device node consists of a name, a type (block, character, etc), and a major and minor number.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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

Similar Threads

Thread Thread Starter Forum Replies Last Post
configuring DNS on Solaris 10 pappu08 Solaris/OpenSolaris 1 04-01-2008 10:10 PM
Solaris newbie: How to install IOzone in Solaris warren Solaris/OpenSolaris 11 03-28-2006 06:45 PM
solaris to linux Rob Linux software 1 12-26-2005 07:32 PM
Solaris p_narahari Solaris/OpenSolaris 1 05-04-2005 06:14 PM
Solaris 10 monk Solaris/OpenSolaris 6 02-07-2005 01:52 PM


All times are GMT +5.5. The time now is 08:07 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36