From: W. Michael Petullo Date: Wed, 12 Jul 2017 11:02:18 +0000 (-0400) Subject: block: support /dev/xvd* nodes X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0dfe61a86255b877dd67b2ba3479709ecf7632ae;p=project%2Ffstools.git 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 --- diff --git a/block.c b/block.c index d5c3937..3e4cfb5 100644 --- a/block.c +++ b/block.c @@ -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/*"); }