Actions
Feature #4154
closedGNU parted should detect physical block size
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
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