Answer Posted / 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 |
Post New Answer View All Answers
How do I find the console in linux?
How do I navigate in cmd?
You want to verify which lines in the file kickoff contain ‘bob’. Which of the following commands will accomplish this?
What is nbtstat command?
How do I find previous commands in linux?
Which command would you use if you want to remove the password assigned to a group?
What is cpu in top command?
How do I know my linux shell version?
Who is unix command?
What is the difference between command ‘ping’ and ‘ping6’?
Where can I find bash in linux?
Brief about the command kill PID?
Write a command that will look for files with an extension "c", and has the occurrence of the string "apple" in it.
You wish to print a file ‘draft’ with 60 lines to a page. What command would you use?
Which are the linux directory commands?