Skip to content

Add netnsid and nsfs columns to lsns

Masatake YAMATO util-linux 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 3 repliesIn review
  2. v12 patches 7 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7lsns: add netnsid columnconfigure.ac sys-utils/lsns.c+185 -20 replies
2/7lsns: disable netnsid column by defaultsys-utils/lsns.c+20 -50 replies
3/7lsns: add a case for testing netnsid columntests/commands.sh tests/expected/lsns/netnsid tests/ts/lsns/netnsid+67 -00 replies
4/7lsns: add nsfs columnsys-utils/Makemodule.am sys-utils/lsns.c+106 -60 replies
5/7lsns: add --nowrap(-W) optionsys-utils/lsns.c+10 -20 replies
6/7lsns: add a case for testing nsfs columntests/expected/lsns/nsfs tests/ts/lsns/nsfs+69 -00 replies
7/7man: write about using multi-line in NSFS cell of lsnssys-utils/lsns.8+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/7] Add netnsid and nsfs columns to lsns

This patch-set adds netnsid and nsfs columns to lsns command.

The new columns are useful to understand namespaces information printed in the output of "ip link" and "ip netns". The new columns are visible only when --type net is specified.

Masatake YAMATO (7):
lsns: add netnsid column
lsns: disable netnsid column by default
lsns: add a case for testing netnsid column
lsns: add nsfs column
lsns: add --nowrap(-W) option
lsns: add a case for testing nsfs column
man: write about using multi-line in NSFS cell of lsns

 configure.ac                |   1 +
 sys-utils/Makemodule.am     |   4 +-
 sys-utils/lsns.8            |   8 ++
 sys-utils/lsns.c            | 319 +++++++++++++++++++++++++++++++++++++++++++-
 tests/commands.sh           |   1 +
 tests/expected/lsns/netnsid |   1 +
 tests/expected/lsns/nsfs    |   1 +
 tests/ts/lsns/netnsid       |  65 +++++++++
 tests/ts/lsns/nsfs          |  68 ++++++++++
 9 files changed, 459 insertions(+), 9 deletions(-)
 create mode 100644 tests/expected/lsns/netnsid
 create mode 100644 tests/expected/lsns/nsfs
 create mode 100644 tests/ts/lsns/netnsid
 create mode 100644 tests/ts/lsns/nsfs
Signature · 1 line
2.13.6