parted/libparted-fix-nvme-partition-naming.patch
Petr Uzel b2e8130d36 - Detect NVMe devices and fix the nvme partition naming scheme
(bsc#982169)
  - libparted-Add-support-for-NVMe-devices.patch
  - libparted-fix-nvme-partition-naming.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=121
2016-06-14 11:11:50 +00:00

17 lines
532 B
Diff

---
libparted/arch/linux.c | 1 +
1 file changed, 1 insertion(+)
Index: parted-3.2/libparted/arch/linux.c
===================================================================
--- parted-3.2.orig/libparted/arch/linux.c
+++ parted-3.2/libparted/arch/linux.c
@@ -2411,6 +2411,7 @@ _device_get_part_path (PedDevice const *
} else {
const char *p;
if (dev->type == PED_DEVICE_CPQARRAY ||
+ dev->type == PED_DEVICE_NVME ||
dev->type == PED_DEVICE_SDMMC)
p = "p";
else if (dev->type == PED_DEVICE_DM)