On Fri, 11 Apr 2008, Rene Herman wrote: > On 11-04-08 13:34, Robert P. J. Day wrote: > > > > Historically, no way. The driver just gets everything for its > > > registered major and has to switch on minor itself. That is, no such > > > thing as "allocated" minors as far as the system is concerned. > > > > just to be pedantic here, when you say there are no such things as > > "allocated" minors, i'm assuming that what you mean is that it's > > always up to a loaded module to choose what minors it wants to try to > > allocate and register, right? or, put another way, there are no such > > things as *pre*-allocated minors. am i parsing that the right way? > > No, really no such thing as allocated minors. You don't register > them with anything historically. I've attached a very minimal char > driver using The Olden Ways and you see that it itself checks in its > open method -- doesn't register a minor anyhere and gets called for > every minor; only the major is significant to the system. yes, i'm starting to appreciate that my original question was kind of meaningless. so let's just forget i asked it and carry on. :-) rday -- ======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lecture. http://crashcourse.ca Waterloo, Ontario, CANADA ======================================================================== -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ