Hi, I have created a pseudo device usign mknod with major number 255. Now when we use mknod we have to specify the major number for the device. However I want the system to dynamically allocate the major number, so am using "register_chrdev". As I understand register_chrdev, just registers the char device & not create it. So how do I create the device so that the major number is allocated dynamically ? Thanks, SP __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/