Signed-off-by: Michał Bartoszkiewicz <mbartoszkiewicz@xxxxxxxxx> --- sys-utils/lsns.8 | 4 ++-- sys-utils/lsns.c | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/sys-utils/lsns.8 b/sys-utils/lsns.8 index 9fe22f1..7ea1cb3 100644 --- a/sys-utils/lsns.8 +++ b/sys-utils/lsns.8 @@ -54,8 +54,8 @@ Use the raw output format. .TP .BR \-t , " \-\-type " \fItype\fP Display the specified \fItype\fP of namespaces only. The supported types are -\fBmnt\fP, \fBnet\fP, \fBipc\fP, \fBuser\fP, \fBpid\fP and \fButs\fP. This -option may be given more than once. +\fBmnt\fP, \fBnet\fP, \fBipc\fP, \fBuser\fP, \fBpid\fP, \fButs\fP and +\fBcgroup\fP. This option may be given more than once. .TP .BR \-u , " \-\-notruncate" Do not truncate text in columns. diff --git a/sys-utils/lsns.c b/sys-utils/lsns.c index 75c04f8..b21e600 100644 --- a/sys-utils/lsns.c +++ b/sys-utils/lsns.c @@ -100,7 +100,8 @@ enum { LSNS_ID_PID, LSNS_ID_UTS, LSNS_ID_IPC, - LSNS_ID_USER + LSNS_ID_USER, + LSNS_ID_CGROUP }; static char *ns_names[] = { @@ -109,7 +110,8 @@ static char *ns_names[] = { [LSNS_ID_PID] = "pid", [LSNS_ID_UTS] = "uts", [LSNS_ID_IPC] = "ipc", - [LSNS_ID_USER] = "user" + [LSNS_ID_USER] = "user", + [LSNS_ID_CGROUP] = "cgroup" }; struct lsns_namespace { -- 2.9.2 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html