hi, you can do a cat /proc/devices to get the major number for your device and then feed that information to via a mknod to create the appropriate device. kind regards anupam On Tue, 6 Jul 2004 21:00:39 -0300 (ART), Tomas Almeida <tomashugoribeiro@yahoo.com.br> wrote: > Hello everybody > > I'm reading the "Linux Device Drivers" (Alessandro > Rubini), and i'm in chapter that we learn to build a > char driver. I'm necesarilly at the point where he > argues about dynamical allocation of major numbers but > i have one doubt (for the moment), if i use the > dynamical allocation, its because i dont have a one > major number exclusive of my char driver and then.. > who will make the device nodes to my char driver?! I > have to guide my driver to print the major number that > it found dynamically and then make the nodes manually? > > Forgive eventual english mistakes.. > > Atenciosamente, thr~~ > > _______________________________________________________ > Yahoo! Mail agora com 100MB, anti-spam e antivírus grátis! > http://br.info.mail.yahoo.com/ > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/