Re: [PATCH] init: add root=PARTUUID=UUID+/-%d support

From: Valdis . Kletnieks
Date: Thu Jun 02 2011 - 10:25:38 EST


On Thu, 02 Jun 2011 08:48:16 CDT, Will Drewry said:

> Good call! I'll take a pass at integrating that. I can see a couple
> different ways of handling the parsing (e.g., when and what does it
> affect). Do you think it would make sense to keep it isolated to just
> being a PARTUUID subargument or would it make more sense for
> PARTNROFF= to be evaluated as a generic root= attribute? I can see
> benefits to both, but one is considerably more minimal to implement :)
> [Maybe I'll try both and see how they look.]

I've seen multi-boot configs that have several disks similarly partitioned - a /boot
on /dev/sdN1 and / on /dev/sdN2. For those configs, being able to say "use
partition 2 of whatever disk you booted" would be one less thing you have
to worry about getting out of sync.

Attachment: pgp00000.pgp
Description: PGP signature