Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
parted.3441
libparted-allow-even-bigger-snap-radius-if-cyli...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libparted-allow-even-bigger-snap-radius-if-cylinders-are-used.patch of Package parted.3441
--- libparted/unit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: parted-3.1/libparted/unit.c =================================================================== --- parted-3.1.orig/libparted/unit.c +++ parted-3.1/libparted/unit.c @@ -541,7 +541,8 @@ ped_unit_parse_custom (const char* str, unit_size = ped_unit_get_size (dev, unit); if (unit == PED_UNIT_CYLINDER) - radius = ped_div_round_up (unit_size, dev->sector_size) - 1; + /* XXX: disgusting hack because of bnc#914852 */ + radius = ped_div_round_up (unit_size * 3, dev->sector_size) - 1; else radius = (ped_div_round_up (unit_size, dev->sector_size) / 2) - 1; if (radius < 0)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor