[illumos] [OpenIndiana Distribution - Feature #4154] GNU parted should detect physical block size
illumos project
devnull at illumos.org
Sun Oct 20 04:54:50 UTC 2013
Issue #4154 has been updated by Ken Mays.
Assignee set to OI illumos
----------------------------------------
Feature #4154: GNU parted should detect physical block size
https://www.illumos.org/issues/4154
Author: Erik Larsson
Status: New
Priority: Normal
Assignee: OI illumos
Category: OS/Net (Kernel and Userland)
Target version:
Difficulty: Medium
Tags: needs-triage
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.
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account
More information about the illumos-team
mailing list