From: Kamalesh Babulal Date: Mon, 16 May 2022 15:21:43 +0000 (-0600) Subject: tools/lssubsys: add support status for the tool X-Git-Tag: v2.0.3~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdfde447267c31fbdddbf3cec89026e5d9c2d264;p=thirdparty%2Flibcgroup.git 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 (cherry picked from commit cf1a7751407f8218f41f99f64635242a65a6d36c) --- diff --git a/src/tools/lssubsys.c b/src/tools/lssubsys.c index bf73b9d2..baa65db8 100644 --- a/src/tools/lssubsys.c +++ b/src/tools/lssubsys.c @@ -48,6 +48,7 @@ static void usage(int status, const char *program_name) "hierarchies\n"); printf(" -m, --mount-points Display mount points\n"); printf(" -M, --all-mount-points Display all mount points\n"); + printf("(Note: currently supported on cgroups v1 only)\n"); } static int print_controller_mount(const char *controller,