how to create multiple block devices in single kernel module?

Submitted by Anonymous
on October 2, 2008 - 5:25am

Hello,
How to create multiple block devices in single kernel module? e.g. once the module is loaded it will create 5 block devices and those will be listed in /proc/partitions.

Thanks in advance