projects
/
oweals
/
fstools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18090d9
)
block: support /dev/nvme* nodes
author
Daniel Golle
<daniel@makrotopia.org>
Fri, 2 Feb 2018 00:32:21 +0000
(
01:32
+0100)
committer
Daniel Golle
<daniel@makrotopia.org>
Fri, 2 Feb 2018 00:32:21 +0000
(
01:32
+0100)
Add glob for NVM Express SSD device nodes to support systems with
such PCIe SSDs.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
block.c
patch
|
blob
|
history
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/*");