There is a list head called 'bd_list' in struct block_device which is the point of attachment for the circular list headed at all_bdevs. Therefore if you start with ANY properly initialized bdev you can get the whole thing with list iterator funcs. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/