• Will Drewry's avatar
    init: add support for root devices specified by partition UUID · b5af921e
    Will Drewry authored
    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: default avatarWill Drewry <wad@chromium.org>
    Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
    b5af921e
genhd.c 30 KB