I think the kernel only cares for the major number per device driver. Your driver can either implement different functionality or access a different device in relation to the minor number. Bahadir On Thu, 20 Jan 2005 04:55:20 -0800, Can Sar <csar@xxxxxxxxxxxx> wrote: > Hi, > > I wrote my own block device called sbd (using code from > http://lwn.net/Articles/58719/) and have currently only been using one > device at /dev/sbd0. I get one major number and 16 minor numbers. From > my understanding the number of minor numbers is only important for > partitions. If I also want to have other devices like /dev/sbd1, > /dev/sbd2, ... be supported will I need another major number or is > there some way around this? I am currently allocating an array of > gendisks and calling add_disk on each one. Is this the correct approach > (I have some small bugs) or is this completely wrong? > > Thanks, > Can > > -- > 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/