Re: Exporting which partitions to md-configure

From: H. Peter Anvin
Date: Mon Jan 30 2006 - 20:45:17 EST


Kyle Moffett wrote:

Well, for an MSDOS partition table, you would look for '253', for a Mac partition table you could look for something like 'Linux_RAID' or similar (just arbitrarily define some name beginning with the Linux_ prefix), etc. This means that the partition table type would need to be exposed as well (I don't know if it is already).


It's not, but perhaps exporting "format" and "type" as distinct attributes is the way to go. The policy for which partitions to consider would live entirely in kinit that way.

type would be format-specific; in EFI it's a UUID.

This, of course, is a bigger change, but it just might be worth it.

-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/