---
src/lxc/lxc_native.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/lxc/lxc_native.c b/src/lxc/lxc_native.c
index 98a9e12..cdf7c7c 100644
--- a/src/lxc/lxc_native.c
+++ b/src/lxc/lxc_native.c
@@ -280,6 +280,10 @@ lxcAddFstabLine(virDomainDefPtr def, lxcFstabPtr fstab)
} else if (VIR_STRDUP(src, fstab->src) < 0)
goto error;
+ /* Is it a block device that needs special favor? */
+ if (STRPREFIX(fstab->src, "/dev/"))
+ type = VIR_DOMAIN_FS_TYPE_BLOCK;
+
/* Do we have ro in options? */
readonly = virStringArrayHasString(options, "ro");
--
1.8.5.2