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 to write the output of a command to a file?
What would be the result of issuing the command cat phonenos?
How do I check cores in linux?
Who linux commands?
What does in makefile do?
Explain about communication features in UNIX?
Enlist some linux networking and troubleshooting commands?
Write about an internal command.
What is command to check ports running/used over local machine
What is sudo bash command?
Which command would you use to create a file system on a new hard drive?
What is bash command?
What is bc command in unix?
How do I run multiple commands in linux?
How do you run a command for a limited time?