From cf1a7751407f8218f41f99f64635242a65a6d36c Mon Sep 17 00:00:00 2001 From: Kamalesh Babulal Date: Fri, 13 May 2022 20:47:33 +0530 Subject: [PATCH] tools/lssubsys: add support status for the tool lssubsys currently doesn't support the cgroups v2 filesystem. Add the warning about the support status in the help. Fixes: https://github.com/libcgroup/libcgroup/issues/50 Suggested-by: Tom Hromatka Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- src/tools/lssubsys.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/lssubsys.c b/src/tools/lssubsys.c index f53b0425..7741146f 100644 --- a/src/tools/lssubsys.c +++ b/src/tools/lssubsys.c @@ -45,6 +45,7 @@ static void usage(int status, const char *program_name) info("hierarchies\n"); info(" -m, --mount-points Display mount points\n"); info(" -M, --all-mount-points Display all mount points\n"); + info("(Note: currently supported on cgroups v1 only)\n"); } static int print_controller_mount(const char *controller, int flags, -- 2.47.2