block: support /dev/nvme* nodes
[project/fstools.git] / block.c
diff --git a/block.c b/block.c
index ab130b9aea8b13b05e081080f68989d5bc8c8790..b377429c61f5ab19d88a18fc25ebe2744eba6d80 100644 (file)
--- a/block.c
+++ b/block.c
@@ -529,6 +529,7 @@ static void cache_load(int mtd)
        _cache_load("/dev/sd*");
        _cache_load("/dev/hd*");
        _cache_load("/dev/md*");
+       _cache_load("/dev/nvme*");
        _cache_load("/dev/vd*");
        _cache_load("/dev/xvd*");
        _cache_load("/dev/mapper/*");