Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Rings:1-MinimalX
parted
libparted-dasd-do-not-use-first-tracks.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libparted-dasd-do-not-use-first-tracks.patch of Package parted
From: Petr Uzel <petr.uzel@suse.cz> Subject: libparted: dasd: Do not use first tracks Patch-mainline: v3.3, solved a bit differently in 4126d0292c75 --- libparted/labels/dasd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: parted-3.2/libparted/labels/dasd.c =================================================================== --- parted-3.2.orig/libparted/labels/dasd.c +++ parted-3.2/libparted/labels/dasd.c @@ -844,7 +844,8 @@ _primary_constraint (PedDisk* disk) if (!ped_alignment_init (&end_align, -1, disk->dev->hw_geom.sectors * sector_size)) return NULL; - if (!ped_geometry_init (&max_geom, disk->dev, 0, disk->dev->length)) + if (!ped_geometry_init (&max_geom, disk->dev, 2 * disk->dev->hw_geom.sectors * sector_size, + disk->dev->length - 2 * disk->dev->hw_geom.sectors * sector_size)) return NULL; return ped_constraint_new(&start_align, &end_align, &max_geom,
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