Re: [klibc] Exporting which partitions to md-configure

From: H. Peter Anvin
Date: Mon Jan 30 2006 - 22:53:57 EST


Greg KH wrote:

What are you looking for exactly? udev has a great helper program,
volume_id, that identifies any type of filesystem that Linux knows about
(it was based on the ext2 lib code, but smaller, and much more sane, and
works better.)

Would that help out here?


It might, but it's also rather ugly to have two pieces of code, especially in the presence of very dynamic partitions. In other words, if the kernel deals with partitions, you want to be able to get at the kernel's view of partitions, not necessarily the actual set of partitions on disk, which can be quite different.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/