Questions about MU database schema and how to list all blogs

You can use something like this

global $wpdb;
$blogs = $wpdb->get_results( $wpdb->prepare( "SELECT blog_id, domain, path FROM 
                             wp_blogs ORDER BY blog_id" ) );

Iterate through $blogs to get what you need.

There is a function get_blog_list(), but it’s been deprecated, so you probably shouldn’t use it.