Re: alloc_chrdev_region creates extra major numbers

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

 



You really are running out of the huge number of minor numbers now
availble to you?  How many devices are present in your system for this
driver?

No. I'm just curious. This output is confusing to me.

$ cat /proc/devices
Character devices:
251 fullex
252 fullex
253 fullex
254 fullex

But as I wrote before, I can access all devices using
(251,0), (251,1), (251,2), (251,3)


(remember that 256 is not the max number of minors for the 2.6
kernel...)

Yup :) Thanks for your reply.


--
http://arhuaco.org/

--
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