Project

General

Profile

Actions

Feature #12003

closed

libefi: add efi_reserved_sectors()

Added by Toomas Soome over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

We have GPT partition handling code in few places where we also need to consider reserved partition size in sectors. Provide efi_reserved_sectors() in libefi to return the number of sectors needed for reserved partition.

Testing done: used updated format command with 512B and 4kn sector disks.

Actions #1

Updated by Toomas Soome over 2 years ago

  • Description updated (diff)
Actions #2

Updated by Electric Monk over 2 years ago

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

git commit 62ce8e2e52946c2ebc855b02452650365c19eafc

commit  62ce8e2e52946c2ebc855b02452650365c19eafc
Author: Toomas Soome <tsoome@me.com>
Date:   2019-11-21T06:29:55.000Z

    12003 libefi: add efi_reserved_sectors()
    Reviewed by: John Levon <john.levon@joyent.com>
    Reviewed by: Robert Mustacchi <rm@fingolfin.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF