2017-12-22 16:53:51 +00:00
|
|
|
From: Petr Uzel <petr.uzel@suse.cz>
|
|
|
|
Subject: libparted: Fix NVMe device naming
|
|
|
|
References: bsc#982169
|
|
|
|
Patch-mainline: no, required to fix custom SUSE device naming
|
2016-06-14 11:11:50 +00:00
|
|
|
---
|
2018-02-20 15:38:03 +00:00
|
|
|
libparted/arch/linux.c | 1 +
|
2016-06-14 11:11:50 +00:00
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
2020-01-12 13:40:37 +00:00
|
|
|
Index: parted-3.3/libparted/arch/linux.c
|
|
|
|
===================================================================
|
|
|
|
--- parted-3.3.orig/libparted/arch/linux.c
|
|
|
|
+++ parted-3.3/libparted/arch/linux.c
|
|
|
|
@@ -2488,6 +2488,7 @@ _device_get_part_path (PedDevice const *
|
2018-02-20 15:38:03 +00:00
|
|
|
if (dev->type == PED_DEVICE_ATARAID ||
|
|
|
|
dev->type == PED_DEVICE_CPQARRAY ||
|
|
|
|
dev->type == PED_DEVICE_DAC960 ||
|
|
|
|
+ dev->type == PED_DEVICE_NVME ||
|
|
|
|
dev->type == PED_DEVICE_SDMMC)
|
|
|
|
p = "p";
|
|
|
|
else if (dev->type == PED_DEVICE_DM)
|