diff options
author | W. Michael Petullo <mike@flyn.org> | 2017-07-12 07:02:18 -0400 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2017-07-16 11:35:18 +0200 |
commit | 0dfe61a86255b877dd67b2ba3479709ecf7632ae (patch) | |
tree | 250ac2238693e678520518e6bbf21fc562e53a82 | |
parent | f038a610bdee22da308a64c9e225de72dd4dd75e (diff) | |
download | fstools-0dfe61a86255b877dd67b2ba3479709ecf7632ae.tar.gz |
block: support /dev/xvd* nodes
Xen provides paravirtualized block devices which most often appear as
/dev/xvd*. This patch adds this pattern to those known to the block
utilitiy. These devices require a kernel compiled with the xen-blkfront
driver.
Signed-off-by: W. Michael Petullo <mike@flyn.org>
-rw-r--r-- | block.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -530,6 +530,7 @@ static void cache_load(int mtd) _cache_load("/dev/hd*"); _cache_load("/dev/md*"); _cache_load("/dev/vd*"); + _cache_load("/dev/xvd*"); _cache_load("/dev/mapper/*"); } |