Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
parted
parted-fix-cciss-partition-naming.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File parted-fix-cciss-partition-naming.patch of Package parted
Index: parted-2.4/libparted/arch/linux.c =================================================================== --- parted-2.4.orig/libparted/arch/linux.c +++ parted-2.4/libparted/arch/linux.c @@ -2226,8 +2226,11 @@ _device_get_part_path (PedDevice *dev, i result = zasprintf ("%.*s/part%d", (int) (path_len - 5), dev->path, num); } else { - char const *p = (dev->type == PED_DEVICE_DAC960 - || dev->type == PED_DEVICE_CPQARRAY + const char *p; + if (dev->type == PED_DEVICE_CPQARRAY) + p = "p"; + else + p = (dev->type == PED_DEVICE_DAC960 || dev->type == PED_DEVICE_ATARAID || dev->type == PED_DEVICE_DM || isdigit (dev->path[path_len - 1])
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