From: Christian Brauner Date: Fri, 14 Oct 2016 12:20:41 +0000 (+0200) Subject: tools: make overlay valid backend X-Git-Tag: lxc-2.1.0~298^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1233%2Fhead;p=thirdparty%2Flxc.git tools: make overlay valid backend So far, users could only create overlay snapshots by specifying -B overlayfs and not with -B overlay. This adds support for -B overlay. Signed-off-by: Christian Brauner --- diff --git a/src/lxc/tools/lxc_copy.c b/src/lxc/tools/lxc_copy.c index 80cfb27c0..3e83af6c8 100644 --- a/src/lxc/tools/lxc_copy.c +++ b/src/lxc/tools/lxc_copy.c @@ -620,6 +620,8 @@ static int my_parser(struct lxc_arguments *args, int c, char *arg) return -1; break; case 'B': + if (strcmp(arg, "overlay") == 0) + arg = "overlayfs"; args->bdevtype = arg; break; case 't':