]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
init: add support for root devices specified by partition UUID
authorWill Drewry <wad@chromium.org>
Tue, 31 Aug 2010 20:47:07 +0000 (15:47 -0500)
committerJens Axboe <jaxboe@fusionio.com>
Wed, 15 Sep 2010 14:14:03 +0000 (16:14 +0200)
commitb5af921ec02333e943efb59aca4f56b78fc0e100
treefcf966ccbee9c5f8b8f652100f033bc781b91b91
parenteec7ecfede74bb996060efefd5c157acd5794e8a
init: add support for root devices specified by partition UUID

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:

  root=PARTUUID=hex-uuid

Signed-off-by: Will Drewry <wad@chromium.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/genhd.c
init/do_mounts.c