Re: root=PARTUUID for MBR/NT disk signatures?

From: Tejun Heo
Date: Mon Aug 20 2012 - 14:23:10 EST


Hello,

On Fri, Aug 17, 2012 at 04:10:52PM -0600, Stephen Warren wrote:
> I was considering extending the kernel command-line option
> root=PARTUUID= to also support MBR (NT disk signatures). I was thinking
> of a syntax along the lines of:
>
> root=PARTUUID=UUUUUUUU-PP[/PARTNROFF=%d]
>
> ... where UUUUUUUU is the hex representation of the NT disk signature,
> and PP is the hex representation of the partition number. Like GPT,
> /PARTNROFF could be used too if desired.
>
> Related, I was thinking of changing struct partition_meta_info's uuid
> field to be a string, so that it could simply be strcmp'd against the
> UUID value on the kernel command-line. That way, the type of the UUID is
> irrelevant.
>
> Does anyone have any objection to that?

Wouldn't that be able to break setups which work currently?

Thanks.

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