From: Christian Brauner Date: Sat, 29 Jul 2017 16:16:10 +0000 (+0200) Subject: aufs: mark deprecated X-Git-Tag: lxc-2.1.0~32^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56050adc92372e2698d61abe66abe0df840d60e4;p=thirdparty%2Flxc.git aufs: mark deprecated Signed-off-by: Christian Brauner --- diff --git a/src/lxc/storage/storage.c b/src/lxc/storage/storage.c index aafa2a393..7da87161b 100644 --- a/src/lxc/storage/storage.c +++ b/src/lxc/storage/storage.c @@ -274,6 +274,11 @@ struct lxc_storage *storage_get(const char *type) bdev->ops = bdevs[i].ops; bdev->type = bdevs[i].name; + if (!strcmp(bdev->type, "aufs")) + WARN("The \"aufs\" driver will is deprecated and will soon be " + "removed. For similar functionality see the \"overlay\" " + "storage driver"); + return bdev; } @@ -607,6 +612,11 @@ struct lxc_storage *storage_init(struct lxc_conf *conf, const char *src, if (strcmp(bdev->type, "nbd") == 0) bdev->nbd_idx = conf->nbd_idx; + if (!strcmp(bdev->type, "aufs")) + WARN("The \"aufs\" driver will is deprecated and will soon be " + "removed. For similar functionality see the \"overlay\" " + "storage driver"); + return bdev; }