Re: [PATCH v3 3/3] init: add support for root devices specified by partition UUID
From: Kay Sievers
Date: Thu Aug 05 2010 - 15:29:56 EST
On Wed, Aug 4, 2010 at 20:22, Will Drewry <wad@xxxxxxxxxxxx> wrote:
> This is the third patch in a series which adds support for
> storing partition metadata, optionally, off of the hd_struct.
> One major use for that data is being able to resolve partition
> by other identities than just the index on a block device. ÂDevice
> enumeration varies by platform and there's a benefit to being able
> to use something like EFI GPT's GUIDs to determine the correct
> block device and partition to mount as the root.
> This change adds that support to root= by adding support for
> the following syntax:
Just an update:
There is still no better idea than using this notation. We should
distinguish between filesystem and partiton UUIDs, and overloading
/dev with magic strings that will never exist there doesn't sound like
a good idea.
I checked with Karel, and fstab supports UUID=, initramfs tools
support root=UUID=, so we are probably going to have PARTUUID support
in fstab and initramfs too when we get there.
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/