> However I want the system to dynamically allocate the major number This can be done by passing 0 as the major number to register_chrdev, It would return the major number assigned. >From 2.4 onwards the device filesystem or devfs was introduced If you want to forget using mknod then use devfs_register_chrdev or devfs_register_blkdev read http://www.linux-mag.com/2000-05/gear_01.html Regards, Gopu Bhaskar -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/