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

H. Peter Anvin
2006-01-31T03:53:56Z

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