Project

General

Profile

Actions

Bug #11517

closed

loader.efi: efipart should be more careful about constructing block device lists

Added by Toomas Soome about 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

The cd handles should be collected as list of partitions. Some systems also provide base name for block device (like PciRoot(0x0)/Pci(0x5,0x0)), we need to be careful about those.

To make out life a bit easier, we prepare not just an array of handles, but we allocate pdinfo struct for each handle and devicepath, then we can simplify our work to sort the devices.

Tested with vmware fusion and bhyve.

Actions #1

Updated by Toomas Soome about 3 years ago

  • Status changed from Feedback to In Progress
Actions #2

Updated by Electric Monk almost 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 0f2f3e995cde8dabd9edf8bb05b957a50bc7cc20

commit  0f2f3e995cde8dabd9edf8bb05b957a50bc7cc20
Author: Toomas Soome <tsoome@me.com>
Date:   2019-08-20T15:05:22.000Z

    11517 loader.efi: efipart should be more careful about constructing block device lists
    Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
    Approved by: Robert Mustacchi <rm@joyent.com>

Actions

Also available in: Atom PDF