From 5a0e5f1b4fe13f5aeb34cdeedbba4ffecb7efdba Mon Sep 17 00:00:00 2001 From: yesBad Date: Sun, 14 Dec 2025 18:35:32 +0200 Subject: [PATCH] add pmem disk type --- src/PVE/Diskmanage.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PVE/Diskmanage.pm b/src/PVE/Diskmanage.pm index 59a7c1d..aa1d29f 100644 --- a/src/PVE/Diskmanage.pm +++ b/src/PVE/Diskmanage.pm @@ -585,6 +585,7 @@ sub get_disks { if ($sysdata->{rotational} == 0) { $type = 'ssd'; $type = 'nvme' if $dev =~ m/^nvme\d+n\d+$/; + $type = 'pmem' if $dev =~ m/^pmem\d+s$/; $data->{rpm} = 0; } elsif ($sysdata->{rotational} == 1) { if ($data->{rpm} != -1) {