]> git.baikalelectronics.ru Git - 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)
commit0f30f8b21de9d8094b191b0b9e6d63ae7ce8ba37
treefcf966ccbee9c5f8b8f652100f033bc781b91b91
parent87a581763a1c6d38648fd930d0c91212a7a26390
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