Commit bbf2f7c6 authored by Vadim Kochan's avatar Vadim Kochan Committed by Stephen Hemminger

man ip-netns: Fix shifted layout at bottom of 'ip netns del'

Signed-off-by: default avatarVadim Kochan <vadim4j@gmail.com>
parent 8b90a990
...@@ -116,12 +116,18 @@ $ ip netns exec net0 SOME_PROCESS_IN_BACKGROUND ...@@ -116,12 +116,18 @@ $ ip netns exec net0 SOME_PROCESS_IN_BACKGROUND
$ ip netns del net0 $ ip netns del net0
.RE .RE
.RS
and eth0 will appear in the default netns only after SOME_PROCESS_IN_BACKGROUND and eth0 will appear in the default netns only after SOME_PROCESS_IN_BACKGROUND
will exit or will be killed. To prevent this the processes running in net0 will exit or will be killed. To prevent this the processes running in net0
should be killed before deleting the netns: should be killed before deleting the netns:
$ ip netns pids net0 | xargs kill .RE
$ ip netns del net0 .RS 10
$ ip netns pids net0 | xargs kill
.RE
.RS 10
$ ip netns del net0
.RE
.TP .TP
.B ip netns set NAME NETNSID - assign an id to a peer network namespace .B ip netns set NAME NETNSID - assign an id to a peer network namespace
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment