From: Sebastian Parschauer Date: Mon, 23 Oct 2017 17:47:47 +0200 Subject: libparted: Fix NVDIMM partition naming References: bsc#1064446 Patch-mainline: no, required to fix custom SUSE device naming Signed-off-by: Sebastian Parschauer --- a/libparted/arch/linux.c +++ b/libparted/arch/linux.c @@ -2437,6 +2437,7 @@ _device_get_part_path (PedDevice const * const char *p; if (dev->type == PED_DEVICE_CPQARRAY || dev->type == PED_DEVICE_NVME || + dev->type == PED_DEVICE_PMEM || dev->type == PED_DEVICE_SDMMC) p = "p"; else if (dev->type == PED_DEVICE_DM)