[klibc] Exporting which partitions to md-configure
H. Peter Anvin
hpa at zytor.com
Mon Jan 30 19:53:42 PST 2006
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
More information about the klibc
mailing list