From 2d9a2936ddd583e392111d773f203ceeee95cdc6 Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Wed, 17 Oct 2018 09:04:40 +0200 Subject: [PATCH] Linux: Lists NVME disks --- src/hdaccess.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hdaccess.c b/src/hdaccess.c index afbeb7cd..261a0149 100644 --- a/src/hdaccess.c +++ b/src/hdaccess.c @@ -374,6 +374,8 @@ list_disk_t *hd_parse(list_disk_t *list_disk, const int verbose, const int testd list_disk=hd_glob_parse("/dev/xvd?", list_disk, verbose, testdisk_mode); /* Loop devices */ list_disk=hd_glob_parse("/dev/loop[0-9]*", list_disk, verbose, testdisk_mode); + /* NVME */ + list_disk=hd_glob_parse("/dev/nvme[0-9]n[0-9]", list_disk, verbose, testdisk_mode); #endif } #elif defined(TARGET_SOLARIS)