Project

General

Profile

Actions

Feature #4154

closed

GNU parted should detect physical block size

Added by Erik Larsson over 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
OS/Net (Kernel and Userland)
Target version:
-
Start date:
2013-09-23
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
parted

Description

GNU parted supports the distinction between physical and logical block size. However this is not implemented in the Solaris-specific code.

The attached patch adds support for detecting physical block size. It tries DKIOCGMEDIAINFOEXT (which supports the distinction between physical and logical block size) before calling DKIOCGMEDIAINFO and if it succeeds it uses those values instead.
Not all drivers implement DKIOCGMEDIAINFOEXT, so the DKIOCGMEDIAINFO fallback is still necessary.


Files

Actions #1

Updated by Ken Mays over 8 years ago

  • Assignee set to OI illumos
Actions #2

Updated by Ken Mays over 8 years ago

  • Tags changed from needs-triage to parted
Actions #3

Updated by Ken Mays over 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Fixed in hipster 10/2014.

Actions

Also available in: Atom PDF