Re: major and minor numbers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

Major number tells you which driver is used to access
the hardware. Each hardware is assinged a uniuqe major
number.

Minor number distinguishes b/w various hardware it
controls.

For example .. for a floppy drive major number is 5.
so to access floppy drive kernel uses major number --
5. 

while minor nubmer tells about the type of the floppy.

minor number 2 -- may refer to 1.44MB
minro number 3 -- may refer to 1.68MB

Regards
Chintan

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux