It was always possible to assign major device numbers dynamically. I think what Jinesh wants to point out that , the parameer _dev itself should not be used by driver developers. It is something that should be obvious for the developer and treated as a black-box , so to speak. So is POSIX compiancy the ONLY reason the major and minor numebrs are present ? On 10/10/06, pradeep singh <2500.pradeep@xxxxxxxxx> wrote:
[snip] > No. That is now handled by udev and sysfs. > > What I was saying about was that the driver writer need not know how > the kernel handles devices internally(using major and minor numbers). > The concept of major and minor numbers does not seem to cook well now > a days. Does it? AFAIR you need not to worry now about it now.Kernel allocates major numbers (not used )one for you dynamically, isnt it? This is what ldd3 says if am right. please CMIIW. > > Jinesh. > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > -- play the game -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/
-- Raseel. http://raseel.livejournal.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/