Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is major and minor?

Answers were Sorted based on User's Feedback



what is major and minor?..

Answer / ajit mohan b

Major number
============
A number indicating which device driver should be used to
access a particular device. All devices controlled by the
same device driver have a common major device number.

Minor number
============
A number serving as a flag to a device driver.The minor
device numbers are used to distinguish between different
devices and their controllers.

Eg:

# ls -l /dev/sda1
brw-rw---- 1 root disk 8, 1 2008-09-04 08:28 /dev/sda1
rigel:~# ls -l /dev/sda2
brw-rw---- 1 root disk 8, 2 2008-09-04 08:28 /dev/sda2

You can see the major and minor device number (8,1) and
(8,2) in the ls listing for /dev/sdax

# ls -l /dev/scd0
brw-rw---- 1 root cdrom 11, 0 2008-09-04 08:28 /dev/scd0

You can see the major and minor device number (11,0)in the
ls listing for /dev/scd0

Is This Answer Correct ?    6 Yes 1 No

what is major and minor?..

Answer / shanmugam

Major - os reference

Minor - Partition Numbers

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Linux Commands Interview Questions

What does uname do in linux?

0 Answers  


What is grep command in linux with examples?

0 Answers  


What does chmod do in linux?

0 Answers  


Who am I command in linux?

0 Answers  


Explain trap command; shift command, getopts command of linux?

0 Answers  


How do I check if my cpu is overclocked?

0 Answers  


Why ms dos is used?

0 Answers  


Brief about FTP hostname?

0 Answers  


Write a command to find all of the files which have been accessed within the last 30 days.

8 Answers   Mphasis, TCS,


Which command is used to delete a group?

0 Answers  


What are the 7 types of sentences?

0 Answers  


What is the difference between cd and cd in linux?

0 Answers  


Categories